]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix man page typoes.
authorMiroslav Lichvar <[email protected]>
Tue, 8 Mar 2011 16:58:29 +0000 (08:58 -0800)
committerGuy Harris <[email protected]>
Tue, 8 Mar 2011 16:58:29 +0000 (08:58 -0800)
Reviewed-By: Guy Harris <[email protected]>
pcap_compile.3pcap.in
pcap_next_ex.3pcap
pcap_open_live.3pcap

index e557fdb43ec853660c2019e0745df257f31017ff..7dbdad5a1ca455b31974ab5a1af01894e8a75c8d 100644 (file)
@@ -55,7 +55,7 @@ the filter program.  If the netmask of the network on which packets are
 being captured isn't known to the program, or if packets are being
 captured on the Linux "any" pseudo-interface that can capture on more
 than one network, a value of PCAP_NETMASK_UNKNOWN can be supplied; tests
 being captured isn't known to the program, or if packets are being
 captured on the Linux "any" pseudo-interface that can capture on more
 than one network, a value of PCAP_NETMASK_UNKNOWN can be supplied; tests
-for IPv4 broadcast addreses will fail to compile, but all other tests in
+for IPv4 broadcast addresses will fail to compile, but all other tests in
 the filter program will be OK.
 .SH RETURN VALUE
 .B pcap_compile()
 the filter program will be OK.
 .SH RETURN VALUE
 .B pcap_compile()
index 922efe2aa858b78195590c9f84dd49d84dd4d925..737383604b133d3598d0a60e9beb5709dcd61628 100644 (file)
@@ -95,13 +95,13 @@ as an argument to fetch or display the error text.
 .B pcap_next()
 returns a pointer to the packet data on success, and returns
 .B NULL
 .B pcap_next()
 returns a pointer to the packet data on success, and returns
 .B NULL
-if an error occured, or if no packets were read from a live
+if an error occurred, or if no packets were read from a live
 capture (if, for example, they were discarded because they didn't pass
 the packet filter, or if, on platforms that support a read timeout that
 starts before any packets arrive, the timeout expires before any packets
 arrive, or if the file descriptor for the capture device is in
 non-blocking mode and no packets were available to be read), or if no
 more packets are available in a ``savefile.''  Unfortunately, there is
 capture (if, for example, they were discarded because they didn't pass
 the packet filter, or if, on platforms that support a read timeout that
 starts before any packets arrive, the timeout expires before any packets
 arrive, or if the file descriptor for the capture device is in
 non-blocking mode and no packets were available to be read), or if no
 more packets are available in a ``savefile.''  Unfortunately, there is
-no way to determine whether an error occured or not.
+no way to determine whether an error occurred or not.
 .SH SEE ALSO
 pcap(3PCAP), pcap_geterr(3PCAP), pcap_dispatch(3PCAP)
 .SH SEE ALSO
 pcap(3PCAP), pcap_geterr(3PCAP), pcap_dispatch(3PCAP)
index 623f0986ed00eb05708933959c5c221797ec9c20..0889a2a25868ad0ad83139169bb09cdf90b51973 100644 (file)
@@ -74,7 +74,7 @@ is filled in with an appropriate error message.
 .I errbuf
 may also be set to warning text when
 .B pcap_open_live()
 .I errbuf
 may also be set to warning text when
 .B pcap_open_live()
-succeds; to detect this case the caller should store a zero-length string in
+succeeds; to detect this case the caller should store a zero-length string in
 .I errbuf
 before calling
 .B pcap_open_live()
 .I errbuf
 before calling
 .B pcap_open_live()