Skip to content

Commit

Permalink
Set sequence (0) interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
gamemann committed Apr 22, 2024
1 parent 36b1733 commit dad08f8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cmd_line.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,14 @@ void print_cmd_help()
**/
void parse_cli(struct cmd_line *cmd, struct config *cfg)
{
/* Parse main options. */
struct sequence *seq = &cfg->seq[0];

if (cmd->cl_interface != NULL)
{
cfg->interface = cmd->cl_interface;
seq->interface = cmd->cl_interface;
}

struct sequence *seq = &cfg->seq[0];

seq->block = cmd->cl_block;
seq->max_count = cmd->cl_count;
seq->time = cmd->cl_time;
Expand Down

0 comments on commit dad08f8

Please sign in to comment.