Merge if_ppp.c:1.113 from HEAD to RELENG_6:

Add IFF_NEEDSGIANT to kernel PPP support.  I have no idea why this wasn't
  here, but it should have been.

Approved by:	re (hrs)
This commit is contained in:
rwatson 2006-04-02 11:10:38 +00:00
parent 5d7332c7c2
commit 6a98808155

View File

@ -220,7 +220,7 @@ ppp_clone_create(struct if_clone *ifc, int unit)
ifp->if_softc = sc;
if_initname(ifp, ifc->ifc_name, unit);
ifp->if_mtu = PPP_MTU;
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST | IFF_NEEDSGIANT;
ifp->if_hdrlen = PPP_HDRLEN;
ifp->if_ioctl = pppsioctl;
ifp->if_output = pppoutput;