From 4e81cae29adf29ccbbe6103b5319f674a8f46fd8 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 7 Apr 2024 18:03:36 +0200 Subject: [PATCH] Reformat --- vppcfg/config/interface.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vppcfg/config/interface.py b/vppcfg/config/interface.py index 30cfef0..4b08c12 100644 --- a/vppcfg/config/interface.py +++ b/vppcfg/config/interface.py @@ -692,7 +692,9 @@ def validate_interfaces(yaml): f"sub-interface {sub_ifname} unnumbered target {target} cannot be in L2 mode" ) result = False - if is_unnumbered(yaml, target) or loopback.is_unnumbered(yaml, target): + if is_unnumbered(yaml, target) or loopback.is_unnumbered( + yaml, target + ): msgs.append( f"sub-interface {sub_ifname} unnumbered target {target} cannot also be unnumbered" )