diff options
author | rwatson <rwatson@FreeBSD.org> | 2006-03-30 08:18:27 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2006-03-30 08:18:27 +0000 |
commit | 67e675ade087cff315601677e19b175c83150962 (patch) | |
tree | 995755af35d0576221a13709f24d92c6b1eb3e4c | |
parent | 0bfd84bfbec161042e2d72fbab0f47500706fc6d (diff) | |
download | FreeBSD-src-67e675ade087cff315601677e19b175c83150962.zip FreeBSD-src-67e675ade087cff315601677e19b175c83150962.tar.gz |
Add IFF_NEEDSGIANT to kernel PPP support. I have no idea why this wasn't
here, but it should have been.
MFC after: 3 days
-rw-r--r-- | sys/net/if_ppp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_ppp.c b/sys/net/if_ppp.c index 4d410d4..caea596 100644 --- a/sys/net/if_ppp.c +++ b/sys/net/if_ppp.c @@ -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; |