diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-27 20:53:57 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-27 20:53:57 +0200 |
commit | 17dc7cd0aaca5c4ae14d3dc843de7a5b612ab5ed (patch) | |
tree | af36b7155e0a2b6db380883ab576529e2d6d1dd2 /src/conf_mode/nat66.py | |
parent | a0202eaf489cfc59ee5358621ab674a5a515c978 (diff) | |
download | vyos-1x-17dc7cd0aaca5c4ae14d3dc843de7a5b612ab5ed.tar.gz vyos-1x-17dc7cd0aaca5c4ae14d3dc843de7a5b612ab5ed.zip |
nat66: T3863: ndppd requires interfaces to be present
Diffstat (limited to 'src/conf_mode/nat66.py')
-rwxr-xr-x | src/conf_mode/nat66.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/nat66.py b/src/conf_mode/nat66.py index f8bc073bb..fb376a434 100755 --- a/src/conf_mode/nat66.py +++ b/src/conf_mode/nat66.py @@ -117,7 +117,7 @@ def verify(nat): raise ConfigError(f'{err_msg} outbound-interface not specified') if config['outbound_interface'] not in interfaces(): - print(f'WARNING: rule "{rule}" interface "{config["outbound_interface"]}" does not exist on this system') + raise ConfigError(f'WARNING: rule "{rule}" interface "{config["outbound_interface"]}" does not exist on this system') addr = dict_search('translation.address', config) if addr != None: |