From 289534e0d5ba07fa76bd8d2644f5bd16f94ff7f8 Mon Sep 17 00:00:00 2001 From: Ahmed Karic Date: Wed, 13 Nov 2024 09:42:07 +0100 Subject: [PATCH] test/infamy: Fix adding ip address inside IsolatedMacVlans --- test/infamy/netns.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/infamy/netns.py b/test/infamy/netns.py index 3d66ffe1..ac646369 100644 --- a/test/infamy/netns.py +++ b/test/infamy/netns.py @@ -3,7 +3,6 @@ import json import multiprocessing import os import random -import signal import subprocess import tempfile import time @@ -208,7 +207,7 @@ class IsolatedMacVlans: self.runsh(f""" set -ex - ip link set iface up + ip link set dev {ifname} up ip -{p} addr add {addr}/{prefix_length} dev {ifname} """, check=True)