summaryrefslogtreecommitdiff
path: root/src/conf_mode/high-availability.py
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-01-23 12:27:31 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-01-25 11:14:44 +0000
commit144b6e6e7b6230283ad8eccc374c443bffd74c3f (patch)
tree7efd67281b25d39f220b0751c759d73816c4c720 /src/conf_mode/high-availability.py
parent1bd69a81dc32fdaa62be27e4f5ae3cfe333f2a26 (diff)
downloadvyos-1x-144b6e6e7b6230283ad8eccc374c443bffd74c3f.tar.gz
vyos-1x-144b6e6e7b6230283ad8eccc374c443bffd74c3f.zip
T1297: VRRP: add garp options to vrrp
Diffstat (limited to 'src/conf_mode/high-availability.py')
-rwxr-xr-xsrc/conf_mode/high-availability.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/high-availability.py b/src/conf_mode/high-availability.py
index 4ed16d0d7..bc3e67b40 100755
--- a/src/conf_mode/high-availability.py
+++ b/src/conf_mode/high-availability.py
@@ -51,6 +51,8 @@ def get_config(config=None):
if 'vrrp' in ha:
if 'group' in ha['vrrp']:
default_values_vrrp = defaults(base_vrrp + ['group'])
+ if 'garp' in default_values_vrrp:
+ del default_values_vrrp['garp']
for group in ha['vrrp']['group']:
ha['vrrp']['group'][group] = dict_merge(default_values_vrrp, ha['vrrp']['group'][group])