summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordavid <david@openbsd.org>2003-10-19 03:58:25 +0000
committerdavid <david@openbsd.org>2003-10-19 03:58:25 +0000
commit05db6d72f805709b52b59fe13fa5b813a3f1e9db (patch)
tree5d2e4587822784f68bf393f6eeb1e417857eac88 /sys
parenttypos from Steve Andre <andres@msu.edu> (diff)
downloadwireguard-openbsd-05db6d72f805709b52b59fe13fa5b813a3f1e9db.tar.xz
wireguard-openbsd-05db6d72f805709b52b59fe13fa5b813a3f1e9db.zip
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