diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-22 16:30:19 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-22 19:36:09 +0100 |
commit | bb260747096bb5072b0cf78f1ab2ff57cd0f43e8 (patch) | |
tree | b416a37c047b3d4421baba0136632df4c4bcff4b /python/vyos/frr.py | |
parent | 26d5202b151cf966d291543bc2ca2d70d8f57036 (diff) | |
download | vyos-1x-bb260747096bb5072b0cf78f1ab2ff57cd0f43e8.tar.gz vyos-1x-bb260747096bb5072b0cf78f1ab2ff57cd0f43e8.zip |
frr: T2826: add additional debug output when loading new config
Diffstat (limited to 'python/vyos/frr.py')
-rw-r--r-- | python/vyos/frr.py | 3 |
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 |