diff options
author | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-18 22:03:44 +0000 |
---|---|---|
committer | Angelos D. Keromytis <angelos@cvs.openbsd.org> | 1999-12-18 22:03:44 +0000 |
commit | afc4108f5f7812de12c1db4f1db50663cd70f797 (patch) | |
tree | 9546bb1bd8f9826767d62a11bff7d7cc1eab8759 /sys/net/if.c | |
parent | b638137ef821c77bfa7837b6f8fd27fde9dcbca7 (diff) |
ifdef myip_ifp (kernel/1014, thanks to dne@mayonnaise.net for testing
the patch)
Diffstat (limited to 'sys/net/if.c')
-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 |