Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Exchizz committed Jan 15, 2024
1 parent e15f87f commit f26d87b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
1 change: 0 additions & 1 deletion src/tcpreplay_api.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ tcpreplay_post_args(tcpreplay_t *ctx, int argc)

options->skip_pkts = OPT_VALUE_SKIP_PKTS;
options->skip_to.tv_sec = OPT_VALUE_SKIP_TO_SECS;
options->skip_to.tv_usec = OPT_VALUE_SKIP_TO_USECS;

if (HAVE_OPT(LIMIT))
options->limit_send = OPT_VALUE_LIMIT;
Expand Down
11 changes: 1 addition & 10 deletions src/tcpreplay_opts.def
Original file line number Diff line number Diff line change
Expand Up @@ -331,20 +331,11 @@ flag = {
flag = {
name = skip-to-secs;
arg-type = number;
descrip = "Skip X seconds since linux epoch into packet file";
descrip = "Skip X seconds since linux epoch into a packet file";
arg-default = 0;
doc = "";
};

flag = {
name = skip-to-usecs;
arg-type = number;
descrip = "Skip X microseconds into packet file. Usually used with --skip-to-secs";
arg-default = 0;
doc = "";
};


flag = {
name = loopdelay-ms;
flags-cant = loopdelay-ns;
Expand Down

0 comments on commit f26d87b

Please sign in to comment.