diff options
-rw-r--r-- | sys/net/if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 2892e0e4107..c83b5bbc9b8 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.173 2008/06/12 16:15:05 claudio Exp $ */ +/* $OpenBSD: if.c,v 1.174 2008/11/10 18:08:42 claudio Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -636,6 +636,7 @@ do { \ /* Announce that the interface is gone. */ rt_ifannouncemsg(ifp, IFAN_DEPARTURE); + ifindex2ifnet[ifp->if_index] = NULL; splx(s); } |