From 0dd0195d455fd879ff92a57b6a41ecc7dd4802e3 Mon Sep 17 00:00:00 2001 From: Guillaume Raffy Date: Sun, 17 Nov 2024 11:33:12 +0100 Subject: [PATCH] made tests pass when using univ-rennes vpn work related to [https://bugzilla.ipr.univ-rennes.fr/show_bug.cgi?id=3958] --- iprbench/util.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/iprbench/util.py b/iprbench/util.py index 0098685..8360657 100644 --- a/iprbench/util.py +++ b/iprbench/util.py @@ -86,6 +86,9 @@ def get_vlan() -> VlanId: 27: 'SIMPA', 79: 'REC-PHYS', }[ip_address[2]] + elif ip_address[0] == 10 and ip_address[1] == 100: + # using univ-rennes' vpn + vlan_id = 'REC-PHYS' else: assert False return vlan_id