From 1e4b3606555e69e464ac3e5dabacd6b4d0541790 Mon Sep 17 00:00:00 2001 From: Max Laier Date: Sat, 22 Oct 2005 14:54:02 +0000 Subject: [PATCH] Fix build after in6_joingroup change. It remains unclear if DAD breaks CARP or not. --- sys/netinet/ip_carp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c index 0e555434b6e8..3aad1512806d 100644 --- a/sys/netinet/ip_carp.c +++ b/sys/netinet/ip_carp.c @@ -1595,7 +1595,7 @@ carp_set_addr6(struct carp_softc *sc, struct sockaddr_in6 *sin6) in6.s6_addr8[15] = 0x12; if (in6_setscope(&in6, ifp, NULL) != 0) goto cleanup; - if ((imm = in6_joingroup(ifp, &in6, &error)) == NULL) + if ((imm = in6_joingroup(ifp, &in6, &error, 0)) == NULL) goto cleanup; LIST_INSERT_HEAD(&im6o->im6o_memberships, imm, i6mm_chain); @@ -1608,7 +1608,7 @@ carp_set_addr6(struct carp_softc *sc, struct sockaddr_in6 *sin6) in6.s6_addr8[12] = 0xff; if (in6_setscope(&in6, ifp, NULL) != 0) goto cleanup; - if ((imm = in6_joingroup(ifp, &in6, &error)) == NULL) + if ((imm = in6_joingroup(ifp, &in6, &error, 0)) == NULL) goto cleanup; LIST_INSERT_HEAD(&im6o->im6o_memberships, imm, i6mm_chain); }