summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/vyos/frr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/vyos/frr.py b/python/vyos/frr.py
index 3bab64301..76e204ab3 100644
--- a/python/vyos/frr.py
+++ b/python/vyos/frr.py
@@ -459,7 +459,8 @@ class FRRConfig:
start = _find_first_element(self.config, before_pattern)
if start < 0:
return False
-
+ for i, e in enumerate(addition, start=start):
+ LOG.debug(f'add_before: add {i:3} {e}')
self.config[start:start] = addition
return True