diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-09 13:29:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-09 13:29:26 +0200 |
commit | 9acce7a3c7c87139de291d39c69a90801ac25691 (patch) | |
tree | f21687a25c28577f558b64ac5ced66e520cc92fc /python/vyos | |
parent | 98ed11a7d6e35de49f57406a0dd9d4759541f2d4 (diff) | |
parent | baf6d9ced3a235f67526cdcaea7e408df535c658 (diff) | |
download | vyos-1x-9acce7a3c7c87139de291d39c69a90801ac25691.tar.gz vyos-1x-9acce7a3c7c87139de291d39c69a90801ac25691.zip |
Merge pull request #2141 from nicolas-fort/T5453
T5453: nat66: fix nat66 which got broken after nat load-balance was introduced
Diffstat (limited to 'python/vyos')
-rw-r--r-- | python/vyos/nat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/nat.py b/python/vyos/nat.py index 418efe649..b6702f7e2 100644 --- a/python/vyos/nat.py +++ b/python/vyos/nat.py @@ -94,7 +94,7 @@ def parse_nat_rule(rule_conf, rule_id, nat_type, ipv6=False): if options: translation_str += f' {",".join(options)}' - if 'backend' in rule_conf['load_balance']: + if not ipv6 and 'backend' in rule_conf['load_balance']: hash_input_items = [] current_prob = 0 nat_map = [] |