Commit e1e4bd7d authored by Martín Ferrari's avatar Martín Ferrari

properly manage up/mtu on connect()

parent f8e90424
...@@ -344,7 +344,8 @@ class Link(ExternalInterface): ...@@ -344,7 +344,8 @@ class Link(ExternalInterface):
except: except:
self._apply_parameters({}, iface.control) self._apply_parameters({}, iface.control)
raise raise
iface.control.up = True iface.control.up = self.up
iface.control.mtu = self.mtu
self._ports[iface.control.index] = iface.control self._ports[iface.control.index] = iface.control
def disconnect(self, iface): def disconnect(self, iface):
......
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