diff options
author | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-06-08 13:55:14 +0000 |
---|---|---|
committer | Chris Maynard <Christopher.Maynard@GTECH.COM> | 2012-06-08 13:55:14 +0000 |
commit | 11204066a8aa38f3de86671d0d77b5d5050d4e91 (patch) | |
tree | 28845e6457880b66ed3d868af83f6f034f0438e2 /dumpcap.c | |
parent | 74f85a07c067c3728be5331a5e62a911038b1db1 (diff) |
Some minimal documentation of remote capture interface formats for both rpcap and the new TCP feature from bug 2788.
svn path=/trunk/; revision=43156
Diffstat (limited to 'dumpcap.c')
-rw-r--r-- | dumpcap.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -427,7 +427,10 @@ print_usage(gboolean print_ver) fprintf(output, "\nUsage: dumpcap [options] ...\n"); fprintf(output, "\n"); fprintf(output, "Capture interface:\n"); - fprintf(output, " -i <interface> name or idx of interface (def: first non-loopback)\n"); + fprintf(output, " -i <interface> name or idx of interface (def: first non-loopback),\n" + " or for remote capturing, use one of these formats:\n" + " rpcap://<host>/<interface>\n" + " TCP@<host>:<port>\n"); fprintf(output, " -f <capture filter> packet filter in libpcap filter syntax\n"); fprintf(output, " -s <snaplen> packet snapshot length (def: 65535)\n"); fprintf(output, " -p don't capture in promiscuous mode\n"); @@ -479,7 +482,7 @@ print_usage(gboolean print_ver) fprintf(output, " -h display this help and exit\n"); fprintf(output, "\n"); fprintf(output, "Example: dumpcap -i eth0 -a duration:60 -w output.pcapng\n"); - fprintf(output, "\"Capture network packets from interface eth0 until 60s passed into output.pcapng\"\n"); + fprintf(output, "\"Capture packets from interface eth0 until 60s passed into output.pcapng\"\n"); fprintf(output, "\n"); fprintf(output, "Use Ctrl-C to stop capturing at any time.\n"); } |