summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2024-01-09 09:52:07 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2024-01-09 09:52:07 +0000
commit56141ca2165f58dcfd7ef47afcdb1b227827d416 (patch)
tree9db35fffafdcc737609141aed547f2dfe20b31da /src
parentd6b2144b3c017d9fd5b3bf8e69c17de7b80f0fa6 (diff)
downloadvyos-1x-56141ca2165f58dcfd7ef47afcdb1b227827d416.tar.gz
vyos-1x-56141ca2165f58dcfd7ef47afcdb1b227827d416.zip
T1297: vrrp: backport VRRP GARP options to Equuleus
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/vrrp.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/vrrp.py b/src/conf_mode/vrrp.py
index b53294e64..6a14cd9b6 100755
--- a/src/conf_mode/vrrp.py
+++ b/src/conf_mode/vrrp.py
@@ -57,6 +57,8 @@ def get_config(config=None):
# options which we need to update into the dictionary retrived.
if 'group' in vrrp:
default_values = defaults(base + ['group'])
+ if 'garp' in default_values:
+ del default_values['garp']
for group in vrrp['group']:
vrrp['group'][group] = dict_merge(default_values, vrrp['group'][group])