summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2003-11-16 17:51:51 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2003-11-16 17:51:51 +0000
commit95c782cbe9adab15695a4d56e505761194cc49ee (patch)
treef0a88b12fe84465be7e10dd1b8eec6d329695a1b /sys
parentcbb413dd8b6a464005115f1b3667f99c98a59e2d (diff)
compile without INET6
Diffstat (limited to 'sys')
-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));