diff options
author | qingli <qingli@FreeBSD.org> | 2009-08-31 00:14:37 +0000 |
---|---|---|
committer | qingli <qingli@FreeBSD.org> | 2009-08-31 00:14:37 +0000 |
commit | 04fc72216c27800baa50ca91c8e9a57b6728f087 (patch) | |
tree | 48f013042461e8299b94eb786d940ca56fbf5a7e | |
parent | 3f243fb0c738bbfae8b143ffa70c450b03a9980e (diff) | |
download | FreeBSD-src-04fc72216c27800baa50ca91c8e9a57b6728f087.zip FreeBSD-src-04fc72216c27800baa50ca91c8e9a57b6728f087.tar.gz |
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:i pointed out by bz
MFC after: immediately
-rw-r--r-- | sys/net/rtsock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/rtsock.c b/sys/net/rtsock.c index e48ab90..4bbd6e3 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 |