MFC 1.34 by yar:

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:
glebius 2005-11-25 14:57:38 +00:00
parent 219fd02410
commit 8c795db6e0

View File

@ -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;