Since carp(4) interfaces presently are kinda fake yet possess
IP addresses, mark them with LOOPBACK so that routing daemons take them easy for link-state routing protocols. Reviewed by: glebius
This commit is contained in:
parent
6fa3ee6c30
commit
9f4abef9a3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=151688
@ -380,7 +380,7 @@ carp_clone_create(struct if_clone *ifc, int unit)
|
||||
ifp->if_softc = sc;
|
||||
if_initname(ifp, CARP_IFNAME, unit);
|
||||
ifp->if_mtu = ETHERMTU;
|
||||
ifp->if_flags = 0;
|
||||
ifp->if_flags = IFF_LOOPBACK;
|
||||
ifp->if_ioctl = carp_ioctl;
|
||||
ifp->if_output = carp_looutput;
|
||||
ifp->if_start = carp_start;
|
||||
|
Loading…
Reference in New Issue
Block a user