Hi, here is a patch fixing some typos.
-- Miroslav Lichvar
>From 2855059315d26bcaadd1c48d56752809cebc8219 Mon Sep 17 00:00:00 2001 From: John Bradshaw <[email protected]> Date: Mon, 7 Mar 2011 13:27:15 +0100 Subject: [PATCH] Fix typos in man pages. --- pcap_compile.3pcap.in | 2 +- pcap_next_ex.3pcap | 4 ++-- pcap_open_live.3pcap | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pcap_compile.3pcap.in b/pcap_compile.3pcap.in index e557fdb..7dbdad5 100644 --- a/pcap_compile.3pcap.in +++ b/pcap_compile.3pcap.in @@ -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 -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() diff --git a/pcap_next_ex.3pcap b/pcap_next_ex.3pcap index 922efe2..7373836 100644 --- a/pcap_next_ex.3pcap +++ b/pcap_next_ex.3pcap @@ -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 -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 -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) diff --git a/pcap_open_live.3pcap b/pcap_open_live.3pcap index 623f098..0889a2a 100644 --- a/pcap_open_live.3pcap +++ b/pcap_open_live.3pcap @@ -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() -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() -- 1.7.4
- This is the tcpdump-workers list. Visit https://cod.sandelman.ca/ to unsubscribe.
