diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-07-19 22:47:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-19 22:47:02 +0200 |
commit | 94442436c0d66030d0b8ea2bc2ff86c74551e8e1 (patch) | |
tree | ff4c7e73b68cddd5a0f970b1940ab1e4d61247a4 | |
parent | 4573b1707a5d7a60711b9348a7267ab9a068bbfb (diff) | |
parent | 838d62c13522be665d875c0e7f1f5f01258c2b1b (diff) | |
download | vyos-1x-94442436c0d66030d0b8ea2bc2ff86c74551e8e1.tar.gz vyos-1x-94442436c0d66030d0b8ea2bc2ff86c74551e8e1.zip |
Merge pull request #507 from jjakob/nft-translation-address-T2709
nat: T2709: remove 'translation address' mandatory check
-rwxr-xr-x | src/conf_mode/nat.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/conf_mode/nat.py b/src/conf_mode/nat.py index 3dd20938a..2299717a8 100755 --- a/src/conf_mode/nat.py +++ b/src/conf_mode/nat.py @@ -79,9 +79,6 @@ def verify_rule(rule, err_msg): 'statically maps a whole network of addresses onto another\n' \ 'network of addresses') - if not rule['exclude'] and not rule['translation_address']: - raise ConfigError(f'{err_msg} translation address not specified') - def parse_configuration(conf, source_dest): """ Common wrapper to read in both NAT source and destination CLI """ |