Modify the linux udp connect but it is still bugging. A ticket is created for that
authorJulien Tribino <julien.tribino@inria.fr>
Thu, 11 Sep 2014 12:05:18 +0000 (14:05 +0200)
committerJulien Tribino <julien.tribino@inria.fr>
Thu, 11 Sep 2014 12:05:18 +0000 (14:05 +0200)
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,