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
This commit is contained in:
Qing Li 2009-08-31 00:18:17 +00:00
parent 87d2d9c556
commit c7276c59ff

View file

@ -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