Commit 7fad3e68 authored by Xavier Thompson's avatar Xavier Thompson

slapformat: WIP: Fix tap mode from TAP to tap

parent dc814b36
...@@ -473,7 +473,7 @@ class Tap(object): ...@@ -473,7 +473,7 @@ class Tap(object):
self.name, user_id, user, owner_id self.name, user_id, user, owner_id
) )
else: else:
call(['ip', 'tuntap', 'add', 'dev', tap, 'mode', 'TAP', 'user', user]) call(['ip', 'tuntap', 'add', 'dev', tap, 'mode', 'tap', 'user', user])
call(['ip', 'link', 'set', tap, 'up']) call(['ip', 'link', 'set', tap, 'up'])
def ensureIPv4Routes(self, conf): def ensureIPv4Routes(self, conf):
......
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