summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-12-15 18:40:10 +0000
committerRyan Thomas McBride <mcbride@cvs.openbsd.org>2004-12-15 18:40:10 +0000
commit343cd8c1820287a9e74a3dd157a7c74f07e90646 (patch)
treeffbe1ceb501cb5750a0a58460b5901f65d8588be /sys/netinet
parent05a78b799c578210ee9205fe710c54aef491c577 (diff)
Add IFF_NOARP to carp interface, we want arp requests to be handled via
carp_iamatch() on the physical interface. ok pascoe@ mpf@
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_carp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index aa1b0404862..2ddb286b007 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.80 2004/12/15 14:13:06 pat Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.81 2004/12/15 18:40:09 mcbride Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -711,7 +711,7 @@ carp_clone_create(ifc, unit)
ifp->if_softc = sc;
snprintf(ifp->if_xname, sizeof ifp->if_xname, "%s%d", ifc->ifc_name,
unit);
- ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
+ ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST | IFF_NOARP;
ifp->if_ioctl = carp_ioctl;
ifp->if_output = ether_output;
ifp->if_start = carp_start;