diff options
author | Denis Ovsienko <denis@ovsienko.info> | 2017-01-25 14:31:39 +0000 |
---|---|---|
committer | Denis Ovsienko <denis@ovsienko.info> | 2017-01-25 14:31:39 +0000 |
commit | 69bed0e04dff65d2b30046388bc2127da68c3f09 (patch) | |
tree | c353893cd1eee2b4f02a62995a06ca7e279aaa35 | |
parent | b7586455b7be0ee1746d3fc9f4b4f8b7ee911d00 (diff) | |
download | libpcap-69bed0e04dff65d2b30046388bc2127da68c3f09.tar.gz |
fix a few typos
-rw-r--r-- | README.sita | 2 | ||||
-rw-r--r-- | pcap-rpcap.c | 2 | ||||
-rw-r--r-- | pcap/pcap.h | 2 | ||||
-rw-r--r-- | pcap_set_tstamp_type.3pcap.in | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/README.sita b/README.sita index 014d51d9..5a65822e 100644 --- a/README.sita +++ b/README.sita @@ -1,5 +1,5 @@ The following instructions apply if you have a Linux platform and want -libpcap to support the 'ACN' WAN/LAN router product from from SITA +libpcap to support the 'ACN' WAN/LAN router product from SITA (http://www.sita.aero) This might also work on non-Linux Unix-compatible platforms, but that diff --git a/pcap-rpcap.c b/pcap-rpcap.c index d8526c4c..2c9a6bbf 100644 --- a/pcap-rpcap.c +++ b/pcap-rpcap.c @@ -898,7 +898,7 @@ int pcap_startcapture_remote(pcap_t *fp) { char sendbuf[RPCAP_NETBUF_SIZE]; /* temporary buffer in which data to be sent is buffered */ int sendbufidx = 0; /* index which keeps the number of bytes currently buffered */ - char portdata[PCAP_BUF_SIZE]; /* temp variable needed to keep the network port for the the data connection */ + char portdata[PCAP_BUF_SIZE]; /* temp variable needed to keep the network port for the data connection */ uint32 totread = 0; /* number of bytes of the payload read from the socket */ int nread; int retval; /* store the return value of the functions */ diff --git a/pcap/pcap.h b/pcap/pcap.h index 7f92a379..36606acc 100644 --- a/pcap/pcap.h +++ b/pcap/pcap.h @@ -457,7 +457,7 @@ PCAP_API void bpf_dump(const struct bpf_program *, int); */ struct pcap_send_queue { - u_int maxlen; /* Maximum size of the the queue, in bytes. This + u_int maxlen; /* Maximum size of the queue, in bytes. This variable contains the size of the buffer field. */ u_int len; /* Current size of the queue, in bytes. */ char *buffer; /* Buffer containing the packets to be sent. */ diff --git a/pcap_set_tstamp_type.3pcap.in b/pcap_set_tstamp_type.3pcap.in index e58cdd4b..7899da31 100644 --- a/pcap_set_tstamp_type.3pcap.in +++ b/pcap_set_tstamp_type.3pcap.in @@ -34,7 +34,7 @@ int pcap_set_tstamp_type(pcap_t *p, int tstamp_type); .fi .SH DESCRIPTION .B pcap_set_tstamp_type() -sets the the type of time stamp desired for packets captured on the pcap +sets the type of time stamp desired for packets captured on the pcap descriptor to the type specified by .IR tstamp_type . It must be called on a pcap descriptor created by |