diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-07-11 12:49:24 +0200 |
---|---|---|
committer | Daniel Borkmann <dborkman@redhat.com> | 2013-07-11 12:49:24 +0200 |
commit | aae407f55ffb2ce5211898559b81898af8d9d994 (patch) | |
tree | bffd0e789c98e5517e1abbb5e7bd98b570ea608d /netsniff-ng.c | |
parent | 0b8aa3c5f07f27ce8e78733b81c1a142b99666aa (diff) |
netsniff-ng: fix recognition of -U command line option
"-U" has been forgotten to add into shortopts. "--update" works as
expeceted however. So simply add "U".
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Diffstat (limited to 'netsniff-ng.c')
-rw-r--r-- | netsniff-ng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index 7f03d4b..8252d42 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -66,7 +66,7 @@ struct ctx { static volatile sig_atomic_t sigint = 0; static volatile bool next_dump = false; -static const char *short_options = "d:i:o:rf:MJt:S:k:n:b:HQmcsqXlvhF:RGAP:Vu:g:T:DB"; +static const char *short_options = "d:i:o:rf:MJt:S:k:n:b:HQmcsqXlvhF:RGAP:Vu:g:T:DBU"; static const struct option long_options[] = { {"dev", required_argument, NULL, 'd'}, {"in", required_argument, NULL, 'i'}, |