summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authoraapostoliuk <a.apostoliuk@vyos.io>2025-04-22 12:23:12 +0300
committeraapostoliuk <a.apostoliuk@vyos.io>2025-04-22 12:23:12 +0300
commitc984fe04a3ce46c266e0b1854af906d5b317f397 (patch)
treefc5918aac88cfcaa542881635958701a145e9269 /python
parent39e2a908e5d141911820c20bb1a5a5b1b96fa457 (diff)
downloadvyos-1x-c984fe04a3ce46c266e0b1854af906d5b317f397.tar.gz
vyos-1x-c984fe04a3ce46c266e0b1854af906d5b317f397.zip
ospf: T7383: Fixed unconfigured redistribution of nhrp into ospf
Fixed unconfigured redistribution of nhrp into ospf.
Diffstat (limited to 'python')
-rw-r--r--python/vyos/frrender.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/frrender.py b/python/vyos/frrender.py
index 8d469e3e2..524167d8b 100644
--- a/python/vyos/frrender.py
+++ b/python/vyos/frrender.py
@@ -92,7 +92,7 @@ def get_frrender_dict(conf, argv=None) -> dict:
if dict_search(f'area.{area_num}.area_type.nssa', ospf) is None:
del default_values['area'][area_num]['area_type']['nssa']
- for protocol in ['babel', 'bgp', 'connected', 'isis', 'kernel', 'rip', 'static']:
+ for protocol in ['babel', 'bgp', 'connected', 'isis', 'kernel', 'nhrp', 'rip', 'static']:
if dict_search(f'redistribute.{protocol}', ospf) is None:
del default_values['redistribute'][protocol]
if not bool(default_values['redistribute']):