From 58e426f4b5e439ab1495f10d55b1adeda4b8e3be Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Sun, 14 Apr 2019 01:57:33 +0200 Subject: FIX: Create TAP interface after API change Change-Id: Ib39671dcb808142037c2950b8b02b9aa64d72a3b Signed-off-by: Jan Gelety (cherry picked from commit 48b40a6789050e8f40405663cc0e437df26fc56a) --- resources/libraries/python/Tap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'resources/libraries/python/Tap.py') diff --git a/resources/libraries/python/Tap.py b/resources/libraries/python/Tap.py index 6b8ae87c04..4e04a4ab33 100644 --- a/resources/libraries/python/Tap.py +++ b/resources/libraries/python/Tap.py @@ -34,7 +34,7 @@ class Tap(object): :returns: Returns a interface index. :rtype: int """ - command = 'connect' + command = 'create' if mac is not None: args = 'tapname {} mac {}'.format(tap_name, mac) else: -- cgit 1.2.3-korg