diff options
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 22ad590d968..f71b67d253b 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.25 1999/12/08 06:50:17 itojun Exp $ */ +/* $OpenBSD: if.c,v 1.26 1999/12/18 22:03:43 angelos Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -319,7 +319,9 @@ if_detach(ifp) #ifdef INET rti_delete(ifp); +#if NETHER > 0 myip_ifp = NULL; +#endif #ifdef MROUTING vif_delete(ifp); #endif |