git://git.onelab.eu
/
nepi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Modify the linux udp connect but it is still bugging. A ticket is created for that
[nepi.git]
/
src
/
nepi
/
resources
/
linux
/
scripts
/
linux-udp-connect.py
diff --git
a/src/nepi/resources/linux/scripts/linux-udp-connect.py
b/src/nepi/resources/linux/scripts/linux-udp-connect.py
index
ce869f7
..
ffd8740
100644
(file)
--- a/
src/nepi/resources/linux/scripts/linux-udp-connect.py
+++ b/
src/nepi/resources/linux/scripts/linux-udp-connect.py
@@
-111,7
+111,8
@@
def get_options():
(options, args) = parser.parse_args()
- if options.vif_type == "IFF_TUN":
+ vif_type = IFF_TAP
+ if options.vif_type and options.vif_type == "IFF_TUN":
vif_type = IFF_TUN
return ( options.vif_name, vif_type, options.pi,