git://git.onelab.eu
/
vsys-scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74cd345
)
pltun should create TUN not TAP interfaces
author
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 20 Jun 2012 14:21:58 +0000
(10:21 -0400)
committer
Sapan Bhatia
<gwsapan@gmail.com>
Wed, 20 Jun 2012 14:21:58 +0000
(10:21 -0400)
support/pltun.c
patch
|
blob
|
history
diff --git
a/support/pltun.c
b/support/pltun.c
index
49e2d7e
..
2b0c9d6
100644
(file)
--- 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_T
AP
, if_name);
+ int tun_fd = tun_alloc(IFF_T
UN
, if_name);
printf("Allocated tap device: %s fd=%d\n", if_name, tun_fd);