From 67e675ade087cff315601677e19b175c83150962 Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 30 Mar 2006 08:18:27 +0000 Subject: 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 --- sys/net/if_ppp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.1