diff options
-rw-r--r-- | sys/netinet/in_gif.c | 2 | ||||
-rw-r--r-- | sys/netinet/ip_output.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/in_gif.c b/sys/netinet/in_gif.c index fd6397e..72e2f86 100644 --- a/sys/netinet/in_gif.c +++ b/sys/netinet/in_gif.c @@ -190,7 +190,7 @@ in_gif_output(ifp, family, m) } if (sc->gif_ro.ro_rt == NULL) { - rtalloc(&sc->gif_ro); + rtalloc_ign(&sc->gif_ro, 0); if (sc->gif_ro.ro_rt == NULL) { m_freem(m); return ENETUNREACH; diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c index e6f7311..d57b749 100644 --- a/sys/netinet/ip_output.c +++ b/sys/netinet/ip_output.c @@ -276,7 +276,7 @@ ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, * operation (as it is for ARP). */ if (ro->ro_rt == 0) - rtalloc(ro); + rtalloc_ign(ro, 0); if (ro->ro_rt == 0) { ipstat.ips_noroute++; error = EHOSTUNREACH; |