diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-08-01 03:22:15 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-08-01 03:22:15 +0000 |
commit | 97a90e0f6ca5b8a8737905a43881c18833032125 (patch) | |
tree | 9384ed58ca3308893fcc86488ea9ec2317783a45 /doc/text2pcap.pod | |
parent | 26a68c20fc7d95691a6ecc330d4866e908acebec (diff) |
"getopt()" doesn't support multiple option arguments to a flag; have
"-u" take a single argument with two port numbers separated by a comma.
svn path=/trunk/; revision=3802
Diffstat (limited to 'doc/text2pcap.pod')
-rw-r--r-- | doc/text2pcap.pod | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/text2pcap.pod b/doc/text2pcap.pod index 280da4880a..372af834a2 100644 --- a/doc/text2pcap.pod +++ b/doc/text2pcap.pod @@ -6,13 +6,13 @@ text2pcap - Generate a capture file from an ASCII hexdump of packets =head1 SYNOPSYS B<text2pcap> -S<[ B<-d> ]> -S<[ B<-q> ]> -S<[ B<-o> hex|oct ]> -S<[ B<-l> typenum ]> -S<[ B<-e> l3pid ]> -S<[ B<-i> proto]> -S<[ B<-u> srcport destport]> +S<[ B<-d> ]> +S<[ B<-q> ]> +S<[ B<-o> hex|oct ]> +S<[ B<-l> typenum ]> +S<[ B<-e> l3pid ]> +S<[ B<-i> proto ]> +S<[ B<-u> srcport,destport ]> I<infile> I<outfile> @@ -123,14 +123,14 @@ an IP header. Note that this automatically includes an appropriate Ethernet header as well. Example: I<-i 46> to specify an RSVP packet (IP protocol 46). -=item -u srcport destport +=item -u srcport,destport Include dummy UDP headers before each packet. Specify the source and destination UDP ports for the packet in decimal. Use this option if your dump is the UDP payload of a packet but does not include any UDP, IP or Ethernet headers. Note that this automatically includes appropriate Ethernet and IP headers with each packet. Example: I<-u -1000 69> to make the packets look like TFTP/UDP packets. +1000,69> to make the packets look like TFTP/UDP packets. =head1 SEE ALSO |