]> The Tcpdump Group git mirrors - libpcap/commitdiff
fix a few typos
authorDenis Ovsienko <[email protected]>
Wed, 25 Jan 2017 14:31:39 +0000 (14:31 +0000)
committerDenis Ovsienko <[email protected]>
Wed, 25 Jan 2017 14:31:39 +0000 (14:31 +0000)
README.sita
pcap-rpcap.c
pcap/pcap.h
pcap_set_tstamp_type.3pcap.in

index 014d51d98d986736d608007060d1edc4aa917370..5a65822ecedbff7394d0ee999ed714b2ed2d0500 100644 (file)
@@ -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
index d8526c4c0989a9064fe462f39df6420d0265f175..2c9a6bbffe5c334cfdfba24757045cc823d659d7 100644 (file)
@@ -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 */
index 7f92a379f79cbeade9e5ce727c214858d6795610..36606acc829e640b3d2710fddde53c96aa13b89a 100644 (file)
@@ -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. */
index e58cdd4b0d776651bda83c8ced2ffcb13e9f6bad..7899da3106a411bc7fea11203aac5fc9ea61e0b8 100644 (file)
@@ -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