diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-11-03 03:19:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-11-03 03:19:28 +0000 |
commit | 4cee2cc487a24c72bbd538e9bbf8e411a8e60707 (patch) | |
tree | a57f820b3be2dfa63fe35f5835dd5440d802178c /sys/netinet | |
parent | b607850039d7d5aa10d915dadac26c323656665d (diff) |
spacing
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_carp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 37f49ae3463..50dd881213d 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.14 2003/11/03 00:55:57 mcbride Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.15 2003/11/03 03:19:27 deraadt Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -864,7 +864,7 @@ carp_iamatch(void *v, struct in_ifaddr *ia, if (index == 0 && ((vh->sc_ac.ac_if.if_flags & (IFF_UP|IFF_RUNNING)) == - (IFF_UP|IFF_RUNNING))) { + (IFF_UP|IFF_RUNNING))) { *enaddr = vh->sc_ac.ac_enaddr; return (1); } @@ -898,7 +898,7 @@ carp_iamatch6(void *v, struct in6_addr *taddr) TAILQ_FOREACH(ifa, &vh->sc_ac.ac_if.if_addrlist, ifa_list) { if (IN6_ARE_ADDR_EQUAL(taddr, &ifatoia6(ifa)->ia_addr.sin6_addr) && - ((vh->sc_ac.ac_if.if_flags & + ((vh->sc_ac.ac_if.if_flags & (IFF_UP|IFF_RUNNING)) == (IFF_UP|IFF_RUNNING))) return (ifa); } @@ -920,7 +920,7 @@ carp_macmatch6(void *v, struct mbuf *m, struct in6_addr *taddr) TAILQ_FOREACH(ifa, &sc->sc_ac.ac_if.if_addrlist, ifa_list) { if (IN6_ARE_ADDR_EQUAL(taddr, &ifatoia6(ifa)->ia_addr.sin6_addr) && - ((sc->sc_ac.ac_if.if_flags & + ((sc->sc_ac.ac_if.if_flags & (IFF_UP|IFF_RUNNING)) == (IFF_UP|IFF_RUNNING))) { mtag = m_tag_get(PACKET_TAG_CARP, sizeof(struct carp_softc *), M_NOWAIT); |