summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarco Pfatschbacher <mpf@cvs.openbsd.org>2007-09-18 09:18:05 +0000
committerMarco Pfatschbacher <mpf@cvs.openbsd.org>2007-09-18 09:18:05 +0000
commit603e711fe60956e5d60c76c2729bb8acd9495200 (patch)
treedbfb27060732540e773fdde7e0f38301b44dfabf /sys
parent55e41847c079bbe8c8b29682db1cd4037f5f3edd (diff)
ARP balancing has been changed to use the source MAC address
quite a while ago. Manpage and comment update by Matthew Dempsky. OK jmc@
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/ip_carp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index ab2e8a5793d..5f47ccfc8b1 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.148 2007/09/03 06:10:54 joel Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.149 2007/09/18 09:18:04 mpf Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -1426,10 +1426,10 @@ carp_iamatch(struct in_ifaddr *ia, u_char *src,
if (carp_opts[CARPCTL_ARPBALANCE]) {
/*
- * 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
- * the floor.
+ * We use the source MAC address 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 the floor.
*/
/* Count the eligible carp interfaces with this address */