Adding an address on an interface also requires the loopback route to
that address be installed. PR: kern/150481 Submitted by: Ingo Flaschberger <if at xip.at> MFC after: 5 days
This commit is contained in:
parent
12debc81fc
commit
a458eaa039
@ -741,6 +741,8 @@ rip_ctlinput(int cmd, struct sockaddr *sa, void *vip)
|
||||
if (err == 0)
|
||||
ia->ia_flags |= IFA_ROUTE;
|
||||
err = ifa_add_loopback_route((struct ifaddr *)ia, sa);
|
||||
if (err == 0)
|
||||
ia->ia_flags |= IFA_RTSELF;
|
||||
ifa_free(&ia->ia_ifa);
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user