summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Krause <david@cvs.openbsd.org>2003-10-19 03:58:26 +0000
committerDavid Krause <david@cvs.openbsd.org>2003-10-19 03:58:26 +0000
commit2fec5505d8ee0821ba046951175b4a1c22375802 (patch)
tree98fdee948bb582abb5555535db016bccc2c0be54 /sys
parent56cf6b2252a26e2ab6ed21d8646f9b63a2bbc7ae (diff)
more typos
Diffstat (limited to 'sys')
-rw-r--r--sys/net/if.h4
-rw-r--r--sys/netinet/ip_carp.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if.h b/sys/net/if.h
index e79e84ad5bf..50d9150f6cb 100644
--- a/sys/net/if.h
+++ b/sys/net/if.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if.h,v 1.43 2003/10/17 21:04:58 mcbride Exp $ */
+/* $OpenBSD: if.h,v 1.44 2003/10/19 03:58:25 david Exp $ */
/* $NetBSD: if.h,v 1.23 1996/05/07 02:40:27 thorpej Exp $ */
/*
@@ -149,7 +149,7 @@ struct ifnet { /* and the entries */
int if_pcount; /* number of promiscuous listeners */
caddr_t if_bpf; /* packet filter structure */
caddr_t if_bridge; /* bridge structure */
- caddr_t if_carp; /* carp sructure */
+ caddr_t if_carp; /* carp structure */
u_short if_index; /* numeric abbreviation for this if */
short if_timer; /* time 'til if_watchdog called */
short if_flags; /* up/down, broadcast, etc. */
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 175102facb6..232e0133814 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.1 2003/10/17 21:04:58 mcbride Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.2 2003/10/19 03:58:25 david Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -627,7 +627,7 @@ carp_iamatch(void *v, struct in_ifaddr *ia,
if (carp_opts[CARPCTL_ARPBALANCE]) {
/*
- * XXX proof of concept iplementation.
+ * XXX proof of concept implementation.
* We use the source ip to decide which virtual host should
* handle the request. If we're master of that virtual host,
* then we respond, otherwise, just drop the arp packet on