From 88f80700b5ef16cb872781f08fec990eec11f99e Mon Sep 17 00:00:00 2001 From: Sam Leffler Date: Wed, 16 Jun 1982 04:04:13 -0800 Subject: [PATCH] add route only after host address discovered (for routed) SCCS-vsn: sys/deprecated/netimp/if_imp.c 4.36 --- usr/src/sys/deprecated/netimp/if_imp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/src/sys/deprecated/netimp/if_imp.c b/usr/src/sys/deprecated/netimp/if_imp.c index 52f97d18b2..2338e08304 100644 --- a/usr/src/sys/deprecated/netimp/if_imp.c +++ b/usr/src/sys/deprecated/netimp/if_imp.c @@ -1,4 +1,4 @@ -/* if_imp.c 4.35 82/06/15 */ +/* if_imp.c 4.36 82/06/15 */ #include "imp.h" #if NIMP > 0 @@ -117,7 +117,6 @@ COUNT(IMPINIT); } sc->imp_state = IMPS_INIT; impnoops(sc); - if_rtinit(&sc->imp_if, RTF_UP); splx(s); } @@ -240,6 +239,7 @@ COUNT(IMPINPUT); } sc->imp_state = IMPS_UP; sc->imp_if.if_flags |= IFF_UP; + if_rtinit(&sc->imp_if, RTF_UP); goto drop; /* -- 2.20.1