summaryrefslogtreecommitdiff
path: root/sys/netiso/iso_snpac.c
diff options
context:
space:
mode:
authordon <don@cvs.openbsd.org>1998-04-04 02:55:58 +0000
committerdon <don@cvs.openbsd.org>1998-04-04 02:55:58 +0000
commitb848247ab7fae72cc2a68925b06f4bbda5c032e5 (patch)
treea4cbabd7ca28fab4b9624804f1a3d07a1ea8a2cd /sys/netiso/iso_snpac.c
parent8e942d191132082b7b9ba6d14bc5c53231bdebdf (diff)
gcc 2.8 supplication
Diffstat (limited to 'sys/netiso/iso_snpac.c')
-rw-r--r--sys/netiso/iso_snpac.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netiso/iso_snpac.c b/sys/netiso/iso_snpac.c
index cb720410473..09cb450df73 100644
--- a/sys/netiso/iso_snpac.c
+++ b/sys/netiso/iso_snpac.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iso_snpac.c,v 1.4 1996/05/10 12:31:22 deraadt Exp $ */
+/* $OpenBSD: iso_snpac.c,v 1.5 1998/04/04 02:55:55 don Exp $ */
/* $NetBSD: iso_snpac.c,v 1.13 1996/05/07 02:45:16 thorpej Exp $ */
/*-
@@ -260,11 +260,12 @@ iso_setmcasts(ifp, req)
bzero((caddr_t) & ifr, sizeof(ifr));
for (cpp = (caddr_t *) addrlist; *cpp; cpp++) {
bcopy(*cpp, (caddr_t) ifr.ifr_addr.sa_data, 6);
- if (req == RTM_ADD)
+ if (req == RTM_ADD) {
if (ether_addmulti(&ifr, (struct arpcom *) ifp) == ENETRESET)
doreset++;
else if (ether_delmulti(&ifr, (struct arpcom *) ifp) == ENETRESET)
doreset++;
+ }
}
if (doreset) {
if (ifp->if_reset)