diff options
| author | Jose Luis Duran <jlduran@gmail.com> | 2023-10-12 13:15:15 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2023-10-13 19:31:30 +0000 |
| commit | 2e620256bd76c449c835c604e404483437743011 (patch) | |
| tree | 87cfd0576f8b2f2c2f572849811466bf8b77ac2b /tests/atf_python/sys | |
| parent | edd2a9b887864d07ac5af480b4b8f35cb76443f6 (diff) | |
Diffstat (limited to 'tests/atf_python/sys')
| -rw-r--r-- | tests/atf_python/sys/net/vnet.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/atf_python/sys/net/vnet.py b/tests/atf_python/sys/net/vnet.py index 8942e6839b35..c58ae28d5ca9 100644 --- a/tests/atf_python/sys/net/vnet.py +++ b/tests/atf_python/sys/net/vnet.py @@ -180,6 +180,8 @@ class IfaceFactory(object): @staticmethod def is_autodeleted(iface_name: str) -> bool: + if iface_name == "lo0": + return False iface_type = re.split(r"\d+", iface_name)[0] return iface_type in IfaceFactory.AUTODELETE_TYPES |
