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
index ce869f7..ffd8740 100644 (file)
@@ -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,