diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2003-11-02 16:15:59 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2003-11-02 16:15:59 +0000 |
commit | 4b09052d0fbd24cbbd70a624260d02d0867a55b8 (patch) | |
tree | ef00b785418f87db4451a65b59c06070c909eed1 /sys/netinet/ip_carp.c | |
parent | 54dcaf54dd81fdb755a47ac6fc1cf88e0a772773 (diff) |
Typo; #ifdef INET not INET6.
From Max Laier.
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r-- | sys/netinet/ip_carp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 7f24a6b9c52..9135501e325 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_carp.c,v 1.12 2003/10/31 09:00:32 mcbride Exp $ */ +/* $OpenBSD: ip_carp.c,v 1.13 2003/11/02 16:15:58 mcbride Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff. All rights reserved. @@ -195,7 +195,7 @@ carp_hmac_prepare(struct carp_softc *sc) SHA1Update(&sc->sc_sha1, (void *)&version, sizeof(version)); SHA1Update(&sc->sc_sha1, (void *)&type, sizeof(type)); SHA1Update(&sc->sc_sha1, (void *)&vhid, sizeof(vhid)); -#ifdef INET6 +#ifdef INET TAILQ_FOREACH(ifa, &sc->sc_ac.ac_if.if_addrlist, ifa_list) { if (ifa->ifa_addr->sa_family == AF_INET) SHA1Update(&sc->sc_sha1, |