diff options
author | John Estabrook <jestabro@vyos.io> | 2023-09-10 21:29:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 21:29:15 -0500 |
commit | 77b2c4fc2d92537e9d9e37bd28ff2c631886ba21 (patch) | |
tree | 505bc0ad5c99c6883a8282ed352cfd1815f636cf /src/conf_mode | |
parent | 769770d7619e275b6ba8df15193045c7e8df110b (diff) | |
parent | b658f601f03f67ed311cfa0c6fcdb15d2dc21ca7 (diff) | |
download | vyos-1x-77b2c4fc2d92537e9d9e37bd28ff2c631886ba21.tar.gz vyos-1x-77b2c4fc2d92537e9d9e37bd28ff2c631886ba21.zip |
Merge pull request #2214 from sever-sever/T5533-sag
T5533: Fix for vrrp dict key if virtual-server is used
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/high-availability.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/high-availability.py b/src/conf_mode/high-availability.py index 0121df11c..2bfae4f3e 100755 --- a/src/conf_mode/high-availability.py +++ b/src/conf_mode/high-availability.py @@ -176,7 +176,7 @@ def apply(ha): return None # Check if IPv6 address is tentative T5533 - for group, group_config in ha['vrrp']['group'].items(): + for group, group_config in ha.get('vrrp', {}).get('group', {}).items(): if 'hello_source_address' in group_config: if is_ipv6(group_config['hello_source_address']): ipv6_address = group_config['hello_source_address'] |