From 0d2dadd8ffce4fb1f1de7270766b65d748a04b30 Mon Sep 17 00:00:00 2001 From: Sapan Bhatia Date: Wed, 20 Jun 2012 10:21:58 -0400 Subject: [PATCH] pltun should create TUN not TAP interfaces --- support/pltun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/pltun.c b/support/pltun.c index 49e2d7e..2b0c9d6 100644 --- a/support/pltun.c +++ b/support/pltun.c @@ -12,7 +12,7 @@ int main(void) char if_name[IFNAMSIZ]; - int tun_fd = tun_alloc(IFF_TAP, if_name); + int tun_fd = tun_alloc(IFF_TUN, if_name); printf("Allocated tap device: %s fd=%d\n", if_name, tun_fd); -- 2.43.0