Skip to content

Commit

Permalink
fix a few typos
Browse files Browse the repository at this point in the history
  • Loading branch information
infrastation committed Jan 25, 2017
1 parent b758645 commit 69bed0e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.sita
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion pcap-rpcap.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
2 changes: 1 addition & 1 deletion pcap/pcap.h
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down
2 changes: 1 addition & 1 deletion pcap_set_tstamp_type.3pcap.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 69bed0e

Please sign in to comment.