summaryrefslogtreecommitdiff
path: root/interface-definitions/include/interface
diff options
context:
space:
mode:
authorNataliia Solomko <natalirs1985@gmail.com>2026-10-30 13:34:13 +0200
committerNataliia Solomko <natalirs1985@gmail.com>2026-10-30 13:34:13 +0200
commitd5e67f48a76dfd7b48b5ce84f08246d2a6c48489 (patch)
tree182d179b37eb1604defb5f874bbfdd73ef5079c6 /interface-definitions/include/interface
parentfe7a0394f86591695b6f461d42a71c520d053dd9 (diff)
downloadvyos-1x-d5e67f48a76dfd7b48b5ce84f08246d2a6c48489.tar.gz
vyos-1x-d5e67f48a76dfd7b48b5ce84f08246d2a6c48489.zip
nat64: T9536: Fix check for only one source rule
The verify step was meant to allow only one NAT64 netfilter instance, but it looked for a "mode" node that does not exist in the CLI, so it never matched. A second source rule was accepted and Jool created a second netfilter instance without error, although the Jool documentation states that only one is allowed per network namespace. Which instance translates traffic is then undefined. Every rule is created with the netfilter framework, so verify now counts all configured source rules and rejects the commit when there is more than one. A dead check that tried to recreate an instance on a "mode" change is removed for the same reason.
Diffstat (limited to 'interface-definitions/include/interface')
0 files changed, 0 insertions, 0 deletions