Commit 07916a16 authored by Federico Sismondi's avatar Federico Sismondi

fix error on attr name

parent ce162e2e
......@@ -414,7 +414,7 @@ class TunBase(object):
self.exchange = rmq_exchange
self.name = name
self.tun_name = ''
self.ifname = None
self.packet_count = 0
if ipv6_prefix is None:
......@@ -644,6 +644,8 @@ class OpenTunWindows(TunBase):
# retrieve the ComponentId from the TUN/TAP interface
componentId = self._get_tuntap_component_id()
self.ifname = '%s.tap' % componentId
# create a win32file for manipulating the TUN/TAP interface
tunIf = win32file.CreateFile(
r'\\.\Global\%s.tap' % componentId,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment