Skip to content

Commit

Permalink
ppp(8): Use netgraph7 tty node when WANT_NETGRAPH7 make variable is d…
Browse files Browse the repository at this point in the history
…efined.

* Now that netgraph7's ng_tty node is ported we can use it instead of
  legacy netgraph's node. This fixes the hack introduced in commit
  f0f93f7.
  • Loading branch information
ntunes committed Jul 5, 2012
1 parent e71e017 commit c0c9c0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr.sbin/ppp/tty.c
Expand Up @@ -49,7 +49,7 @@
#include <netgraph7/async/ng_async.h> #include <netgraph7/async/ng_async.h>
#include <netgraph7/ng_message.h> #include <netgraph7/ng_message.h>
#include <netgraph7/ppp/ng_ppp.h> #include <netgraph7/ppp/ng_ppp.h>
#include <netgraph/tty/ng_tty.h> /* XXX should be netgraph7/tty but that one is not ported yet */ #include <netgraph7/tty/ng_tty.h>
#else #else
#include <netgraph/async/ng_async.h> #include <netgraph/async/ng_async.h>
#include <netgraph/ng_message.h> #include <netgraph/ng_message.h>
Expand Down

0 comments on commit c0c9c0e

Please sign in to comment.