DragonFly submit List (threaded) for 2007-08
DragonFly BSD
DragonFly submit List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

allow pppX interfaces to work with altq/pf


From: Andrew Atrens <atrens@xxxxxxxxxx>
Date: Fri, 24 Aug 2007 08:48:14 -0400


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;



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]