Skip to content

Commit bcca74d

Browse files
committed
Fix some spelling. [skip ci]
1 parent 2d3a47d commit bcca74d

18 files changed

+37
-37
lines changed

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ Tuesday January 9, 2001. guy@alum.mit.edu. Summary for 0.6 release
682682

683683
Header files fixed to allow use in C++ programs.
684684

685-
Removed dependancy on native headers for packet layout.
685+
Removed dependency on native headers for packet layout.
686686
Removed Linux specific headers that were shipped.
687687

688688
Security fixes: Strcpy replaced with strlcpy, sprintf replaced

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ If you use SINIX, you should be able to build libpcap from this
188188
release. It is known to compile and run on SINIX-Y/N 5.42 with the C-DS
189189
V1.0 or V1.1 compiler. But note that in some releases of SINIX, yacc
190190
emits incorrect code; if grammar.y fails to compile, change every
191-
occurence of:
191+
occurrence of:
192192

193193
#ifdef YYDEBUG
194194

aclocal.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ dnl Check to see whether a particular set of modules exists. Similar to
10781078
dnl PKG_CHECK_MODULES(), but does not set variables or print errors.
10791079
dnl
10801080
dnl Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
1081-
dnl only at the first occurence in configure.ac, so if the first place
1081+
dnl only at the first occurrence in configure.ac, so if the first place
10821082
dnl it's called might be skipped (such as if it is within an "if", you
10831083
dnl have to call PKG_CHECK_EXISTS manually
10841084
AC_DEFUN([PKG_CHECK_EXISTS],

doc/README.capture-module

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -232,13 +232,13 @@ structure:
232232
called whnever pcap_set_datalink() is called
233233

234234
getnonblock_op
235-
called whenver pcap_getnonblock() is called
235+
called whenever pcap_getnonblock() is called
236236

237237
setnonblock_op
238238
called whenever pcap_setnonblock() is called
239239

240240
stats_op
241-
called whenver pcap_stats() is called
241+
called whenever pcap_stats() is called
242242

243243
cleanup_op
244244
called if the activate routine fails or pcap_close() is

doc/README.hpux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ An additional note, from Jost Martin, for HP-UX 10.20:
159159
of an interface
160160
A: You need to get PHNE_20892,PHNE_20725 and PHCO_10947 (or
161161
newer, this is as of 4.4.00) and its dependencies. Then you can
162-
enable the feature as descibed below:
162+
enable the feature as described below:
163163

164164
Patch Name: PHNE_20892
165165
Patch Description: s700 10.20 PCI 100Base-T cumulative patch

pcap-common.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@
326326
* input packets such as port scans, packets from old lost connections,
327327
* etc. to force the connection to stay up).
328328
*
329-
* The first byte of the PPP header (0xff03) is modified to accomodate
329+
* The first byte of the PPP header (0xff03) is modified to accommodate
330330
* the direction - 0x00 = IN, 0x01 = OUT.
331331
*/
332332
#define LINKTYPE_PPP_PPPD 166
@@ -1104,7 +1104,7 @@
11041104

11051105
/*
11061106
* DisplayPort AUX channel monitoring data as specified by VESA
1107-
* DisplayPort(DP) Standard preceeded by a pseudo-header.
1107+
* DisplayPort(DP) Standard preceded by a pseudo-header.
11081108
* per dirk.eibach at gdsys.cc
11091109
*/
11101110
#define LINKTYPE_DISPLAYPORT_AUX 275

pcap-dag.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ dag_erf_ext_header_count(uint8_t * erf, size_t len)
333333
/*
334334
* Read at most max_packets from the capture stream and call the callback
335335
* for each of them. Returns the number of packets handled, -1 if an
336-
* error occured, or -2 if we were told to break out of the loop.
336+
* error occurred, or -2 if we were told to break out of the loop.
337337
*/
338338
static int
339339
dag_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)

pcap-dos.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ static void pcap_init_hook (void)
943943
}
944944

945945
/*
946-
* Supress PRINT message from Watt-32's sock_init()
946+
* Suppress PRINT message from Watt-32's sock_init()
947947
*/
948948
static void null_print (void) {}
949949

pcap-linux.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2539,7 +2539,7 @@ activate_pf_packet(pcap_t *handle, int is_any_device)
25392539
}
25402540
}
25412541

2542-
/* Enable auxillary data if supported and reserve room for
2542+
/* Enable auxiliary data if supported and reserve room for
25432543
* reconstructing VLAN headers. */
25442544
#ifdef HAVE_PACKET_AUXDATA
25452545
val = 1;
@@ -3056,7 +3056,7 @@ create_ring(pcap_t *handle, int *status)
30563056
return -1;
30573057
}
30583058

3059-
/* compute the minumum block size that will handle this frame.
3059+
/* compute the minimum block size that will handle this frame.
30603060
* The block has to be page size aligned.
30613061
* The max block size allowed by the kernel is arch-dependent and
30623062
* it's not explicitly checked here. */
@@ -4297,7 +4297,7 @@ pcap_setfilter_linux(pcap_t *handle, struct bpf_program *filter)
42974297
if ((err = set_kernel_filter(handle, &fcode)) == 0)
42984298
{
42994299
/*
4300-
* Installation succeded - using kernel filter,
4300+
* Installation succeeded - using kernel filter,
43014301
* so userland filtering not needed.
43024302
*/
43034303
handlep->filter_in_userland = 0;

pcap-npf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ pcap_stats_ex_npf(pcap_t *p, int *pcap_stat_size)
286286
p->stat.ps_ifdrop = bstats.ps_ifdrop;
287287
/*
288288
* Just in case this is ever compiled for a target other than
289-
* Windows, which is somewhere between extemely unlikely and
289+
* Windows, which is somewhere between extremely unlikely and
290290
* impossible.
291291
*/
292292
#ifdef _WIN32

0 commit comments

Comments
 (0)