summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/netinet/ip_carp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index 7a7e4f506fa..13b1af9a202 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.28 2003/11/14 08:17:46 mcbride Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.29 2003/11/16 17:51:50 markus Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -179,7 +179,9 @@ carp_hmac_prepare(struct carp_softc *sc)
u_int8_t vhid = sc->sc_vhid & 0xff;
struct ifaddr *ifa;
int i;
+#ifdef INET6
struct in6_addr in6;
+#endif /* INET6 */
/* compute ipad from key */
bzero(sc->sc_pad, sizeof(sc->sc_pad));