diff options
| author | Brian Somers <brian@FreeBSD.org> | 1998-08-09 16:41:01 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 1998-08-09 16:41:01 +0000 |
| commit | 44cae95d95ee193944b18befaaa6825f40b2109f (patch) | |
| tree | e38513ca7f8ddf6231b70e22e8f97554ff5e1e74 | |
| parent | bf1d3ff6149a5bfb0c6d69526e133e260536e28e (diff) | |
Notes
| -rw-r--r-- | usr.sbin/ppp/tun.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/tun.c b/usr.sbin/ppp/tun.c index af27badc6535..c1d021f58a6d 100644 --- a/usr.sbin/ppp/tun.c +++ b/usr.sbin/ppp/tun.c @@ -23,13 +23,14 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: tun.c,v 1.7 1998/05/21 21:48:52 brian Exp $ + * $Id: tun.c,v 1.8 1998/06/27 14:18:15 brian Exp $ */ #include <sys/types.h> #include <sys/socket.h> /* For IFF_ defines */ #include <net/if.h> /* For IFF_ defines */ #include <netinet/in.h> +#include <net/if_types.h> #include <net/if_tun.h> #include <netinet/in_systm.h> #include <netinet/ip.h> @@ -64,7 +65,7 @@ tun_configure(struct bundle *bundle, int mtu) { struct tuninfo info; - info.type = 23; + info.type = IFT_PPP; info.mtu = mtu; info.baudrate = bundle->ifp.Speed; #ifdef __OpenBSD__ |
