selftest.socket_wrapper: interface is an integer.
authorJelmer Vernooij <jelmer@samba.org>
Sun, 4 Mar 2012 01:17:52 +0000 (02:17 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 4 Mar 2012 17:02:06 +0000 (18:02 +0100)
selftest/socket_wrapper.py

index 78e90e0..371bad9 100644 (file)
@@ -58,4 +58,4 @@ def setup_pcap(pcap_file):
     os.environ["SOCKET_WRAPPER_PCAP_FILE"] = pcap_file
 
 def set_default_iface(i):
-    os.environ["SOCKET_WRAPPER_DEFAULT_IFACE"] = i
+    os.environ["SOCKET_WRAPPER_DEFAULT_IFACE"] = str(i)