summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_carp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/ip_carp.c')
-rw-r--r--sys/netinet/ip_carp.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/netinet/ip_carp.c b/sys/netinet/ip_carp.c
index f75af9d8447..ab48b90e0bd 100644
--- a/sys/netinet/ip_carp.c
+++ b/sys/netinet/ip_carp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_carp.c,v 1.108 2005/07/31 03:52:19 pascoe Exp $ */
+/* $OpenBSD: ip_carp.c,v 1.109 2005/08/31 04:49:21 mcbride Exp $ */
/*
* Copyright (c) 2002 Michael Shalayeff. All rights reserved.
@@ -2108,7 +2108,11 @@ carp_ether_delmulti(struct carp_softc *sc, struct ifreq *ifr)
break;
}
}
- KASSERT(mc != NULL);
+ /*
+ * XXX We don't actually want KASSERT(mc != NULL) here
+ * because we mess with the multicast addresses elsewhere.
+ * Clean up after release.
+ */
} else
(void)ether_addmulti(ifr, (struct arpcom *)&sc->sc_ac);
return (error);