Add a change missing in r271916.
This commit is contained in:
parent
7aad5f07dd
commit
a313921d44
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user