Browse files

ppp(8): Use netgraph7 tty node when WANT_NETGRAPH7 make variable is d…

…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...
1 parent e71e017 commit c0c9c0e505ff571e80a320af21b92e8ec57ba46c @ntunes ntunes committed Jul 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 usr.sbin/ppp/tty.c
View
2 usr.sbin/ppp/tty.c
@@ -49,7 +49,7 @@
#include <netgraph7/async/ng_async.h>
#include <netgraph7/ng_message.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
#include <netgraph/async/ng_async.h>
#include <netgraph/ng_message.h>

0 comments on commit c0c9c0e

Please sign in to comment.