diff options
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r-- | sys/net/if_pfsync.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index 83134339d89..1f2c8f14f52 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.33 2004/05/17 17:15:07 mickey Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.34 2004/06/04 22:25:09 mcbride Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -768,6 +768,10 @@ pfsyncioctl(struct ifnet *ifp, u_long cmd, caddr_t data) sc->sc_statep_net.s = NULL; splx(s); } + if (imo->imo_num_memberships > 0) { + in_delmulti(imo->imo_membership[--imo->imo_num_memberships]); + imo->imo_multicast_ifp = NULL; + } break; } if ((sifp = ifunit(pfsyncr.pfsyncr_syncif)) == NULL) |