From c7276c59ff5351740396abb0c46d31f4c4ffcdea Mon Sep 17 00:00:00 2001 From: Qing Li Date: Mon, 31 Aug 2009 00:18:17 +0000 Subject: [PATCH] As part of r196609, a call to "rtalloc" did not take the fib into account. So call the appropriate "rtalloc_ign_fib()" instead of calling "rtalloc_ign()". Reviewed by: pointed out by bz Approved by: re --- sys/net/rtsock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index e48ab9041d0..4bbd6e32fa9 100644 --- a/sys/net/rtsock.c +++ b/sys/net/rtsock.c @@ -527,7 +527,7 @@ route_output(struct mbuf *m, struct socket *so) bzero(&gw_ro, sizeof(gw_ro)); gw_ro.ro_dst = *info.rti_info[RTAX_GATEWAY]; - rtalloc_ign(&gw_ro, 0); + rtalloc_ign_fib(&gw_ro, 0, so->so_fibnum); /* * A host route through the loopback interface is * installed for each interface adddress. In pre 8.0