1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00

Add a change missing in r271916.

This commit is contained in:
Hiroki Sato 2014-09-21 04:38:50 +00:00
parent b9f70ced25
commit cc45ae406d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=271920

View File

@ -674,7 +674,7 @@ in_addprefix(struct in_ifaddr *target, int flags)
} else {
int fibnum;
fibnum = rt_add_addr_allfibs ? RT_ALL_FIBS :
fibnum = V_rt_add_addr_allfibs ? RT_ALL_FIBS :
target->ia_ifp->if_fib;
rt_addrmsg(RTM_ADD, &target->ia_ifa, fibnum);
IN_IFADDR_RUNLOCK();
@ -745,7 +745,7 @@ in_scrubprefix(struct in_ifaddr *target, u_int flags)
if ((target->ia_flags & IFA_ROUTE) == 0) {
int fibnum;
fibnum = rt_add_addr_allfibs ? RT_ALL_FIBS :
fibnum = V_rt_add_addr_allfibs ? RT_ALL_FIBS :
target->ia_ifp->if_fib;
rt_addrmsg(RTM_DELETE, &target->ia_ifa, fibnum);
return (0);