summaryrefslogtreecommitdiff
path: root/src/conf_mode/protocols_ospf.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-11-28 09:54:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-11-28 09:54:22 +0100
commit95d214d2406df82bb57dd7669d230295d8aca5f5 (patch)
tree181b62af35af79de6aca3bd7c854fdd04b956015 /src/conf_mode/protocols_ospf.py
parentf1973bcf16fcc5e38c5fa3d3749846470e8e4afa (diff)
downloadvyos-1x-95d214d2406df82bb57dd7669d230295d8aca5f5.tar.gz
vyos-1x-95d214d2406df82bb57dd7669d230295d8aca5f5.zip
ospf: comment cleanup
Diffstat (limited to 'src/conf_mode/protocols_ospf.py')
-rwxr-xr-xsrc/conf_mode/protocols_ospf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/protocols_ospf.py b/src/conf_mode/protocols_ospf.py
index 9d1fb48e4..4895cde6f 100755
--- a/src/conf_mode/protocols_ospf.py
+++ b/src/conf_mode/protocols_ospf.py
@@ -177,11 +177,11 @@ def verify(ospf):
raise ConfigError('Can not use OSPF interface area and area ' \
'network configuration at the same time!')
- if 'vrf' in ospf:
# If interface specific options are set, we must ensure that the
# interface is bound to our requesting VRF. Due to the VyOS
# priorities the interface is bound to the VRF after creation of
# the VRF itself, and before any routing protocol is configured.
+ if 'vrf' in ospf:
vrf = ospf['vrf']
tmp = get_interface_config(interface)
if 'master' not in tmp or tmp['master'] != vrf: