git: usr.sbin/ppp: fix netgraph includes.

Nuno Antunes nant at crater.dragonflybsd.org
Sat Jun 9 07:04:30 PDT 2012


commit f0f93f7f2d479e18fe43625ce59583ba7a773bf2
Author: Nuno Antunes <nuno.antunes at gmail.com>
Date:   Mon Jun 4 05:55:16 2012 +0100

    usr.sbin/ppp: fix netgraph includes.
    
    If the WANT_NETGRAPH7 make variable is set, use includes from
    netgraph7/*; otherwise use includes from netgraph/*. It is possible
    to use ppp with netgraph7 for establishing pppoe connections starting
    from this commit.
    
    XXX: the ng_tty module has not been ported yet into netgraph7, so use
    the include header from legacy netgraph for now. This is an ugly hack
    but allows ppp to compile for now until ng_tty is ported.
    
    Reported-by: Sacha Wildner <swildner@>

Summary of changes:
 usr.sbin/ppp/Makefile   |    4 ++++
 usr.sbin/ppp/ether.c    |    7 +++++++
 usr.sbin/ppp/netgraph.c |    6 ++++++
 usr.sbin/ppp/tty.c      |    7 +++++++
 4 files changed, 24 insertions(+), 0 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f0f93f7f2d479e18fe43625ce59583ba7a773bf2


-- 
DragonFly BSD source repository





More information about the Commits mailing list