diff options
author | luigi <luigi@FreeBSD.org> | 2004-04-14 01:13:14 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2004-04-14 01:13:14 +0000 |
commit | 94049d08108115375769443eafab463669a31cb2 (patch) | |
tree | f4a4748113d8b5bfae8b81f49b706eab4bb21503 /sys/netinet/ip_output.c | |
parent | 6a86b016720e6c490ba881c2bc0267b410e78005 (diff) | |
download | FreeBSD-src-94049d08108115375769443eafab463669a31cb2.zip FreeBSD-src-94049d08108115375769443eafab463669a31cb2.tar.gz |
In an effort to simplify the routing code, try to deprecate rtalloc()
in favour of rtalloc_ign(), which is what would end up being called
anyways.
There are 25 more instances of rtalloc() in net*/ and
about 10 instances of rtalloc_ign()
Diffstat (limited to 'sys/netinet/ip_output.c')
-rw-r--r-- | sys/netinet/ip_output.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |