allow pppX interfaces to work with altq/pf
    Andrew Atrens 
    atrens at nortel.com
       
    Fri Aug 24 05:48:14 PDT 2007
    
    
  
Index: if_ppp.c
===================================================================
RCS file: /usr/dfly/repo/src/sys/net/ppp/if_ppp.c,v
retrieving revision 1.35
diff -u -r1.35 if_ppp.c
--- if_ppp.c    23 May 2007 08:57:10 -0000      1.35
+++ if_ppp.c    24 May 2007 05:02:10 -0000
@@ -239,6 +246,7 @@
     for (sc = ppp_softc; i < NPPP; sc++) {
        if_initname(&(sc->sc_if), "ppp", i++);
+        sc->sc_if.if_softc = sc;
        sc->sc_if.if_mtu = PPP_MTU;
        sc->sc_if.if_flags = IFF_POINTOPOINT | IFF_MULTICAST;
        sc->sc_if.if_type = IFT_PPP;
    
    
More information about the Submit
mailing list