diff options
-rw-r--r-- | lib/libc/gen/sysctl.3 | 6 | ||||
-rw-r--r-- | sys/net/if.h | 4 | ||||
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/gen/sysctl.3 b/lib/libc/gen/sysctl.3 index ce8218849c7..7ffd3b3497c 100644 --- a/lib/libc/gen/sysctl.3 +++ b/lib/libc/gen/sysctl.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: sysctl.3,v 1.111 2003/10/18 00:47:02 mcbride Exp $ +.\" $OpenBSD: sysctl.3,v 1.112 2003/10/19 03:58:25 david Exp $ .\" .\" Copyright (c) 1993 .\" The Regents of the University of California. All rights reserved. @@ -1024,7 +1024,7 @@ Enabled by default. .It Li carp.arpbalance If set to any value other than 0, the ARP balancing functionality in carp is enabled. -When ARP requests are recieved for an IP address which is part of any virtual +When ARP requests are received for an IP address which is part of any virtual host, carp will hash the source IP in the ARP request to select one of the virtual hosts from the set of all the virtual hosts which have that IP address. The master of that host will respond with the correct virtual MAC address. @@ -1037,7 +1037,7 @@ Enabled by default. .It Li carp.preempt If set to 0, .Xr carp 4 -will not attempt to become master if it is recieving advertisements from +will not attempt to become master if it is receiving advertisements from another active master. If set to any other value, carp will become master of the virtual host if it believes it can send advertisements more frequently than the current master. 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 |