diff options
| author | Brian Somers <brian@FreeBSD.org> | 2000-07-19 15:14:34 +0000 |
|---|---|---|
| committer | Brian Somers <brian@FreeBSD.org> | 2000-07-19 15:14:34 +0000 |
| commit | 20d40aef90c73ec8c7cb322228999a100b796a19 (patch) | |
| tree | 2bad38945344c8c6dd93b59105536526358d160a | |
| parent | 744b9254bb36d3246be10b32489329b4a56da604 (diff) | |
Notes
| -rw-r--r-- | sys/net/if_tun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index 1cd1ad2a872c..b544f7574fcb 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -37,6 +37,7 @@ #include <sys/malloc.h> #include <net/if.h> +#include <net/if_types.h> #include <net/route.h> #include <net/intrq.h> @@ -119,6 +120,7 @@ tuncreate(dev) ifp->if_ioctl = tunifioctl; ifp->if_output = tunoutput; ifp->if_flags = IFF_POINTOPOINT | IFF_MULTICAST; + ifp->if_type = IFT_PPP; ifp->if_snd.ifq_maxlen = ifqmaxlen; ifp->if_softc = sc; if_attach(ifp); |
