diff options
author | Dario Lombardo <lomato@gmail.com> | 2016-01-25 09:23:03 +0100 |
---|---|---|
committer | Roland Knall <rknall@gmail.com> | 2016-02-08 14:36:12 +0000 |
commit | 23c6241e52818586d63583830bf18dfa08edc1fc (patch) | |
tree | 1afc3458015b2ec0e82d31f1e8c8b14c8f77ed5e /extcap/sshdump.c | |
parent | db3795b4fbd03492565156e2864b51053825f76f (diff) | |
download | wireshark-23c6241e52818586d63583830bf18dfa08edc1fc.tar.gz |
sshdump: fix default value for capture filter.
Change-Id: I21c4d6fa6726165882ed104262b1e2b22557d8cd
Reviewed-on: https://code.wireshark.org/review/13522
Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'extcap/sshdump.c')
-rw-r--r-- | extcap/sshdump.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/extcap/sshdump.c b/extcap/sshdump.c index 6dcfb61547..9a273968bf 100644 --- a/extcap/sshdump.c +++ b/extcap/sshdump.c @@ -567,7 +567,10 @@ static int list_config(char *interface, unsigned int remote_port) "{type=string}{default=%s}{tooltip=The remote dumpcap binary used " "for capture.}\n", inc++, DEFAULT_CAPTURE_BIN); printf("arg {number=%u}{call=--remote-filter}{display=Remote capture filter}" - "{type=string}{default=%s}{tooltip=The remote capture filter}\n", inc++, ipfilter); + "{type=string}{tooltip=The remote capture filter}", inc++); + if (ipfilter) + printf("{default=%s}", ipfilter); + printf("\n"); printf("arg {number=%u}{call=--remote-count}{display=Packets to capture}" "{type=unsigned}{default=0}{tooltip=The number of remote packets to capture. (Default: inf)}\n", inc++); |