diff options
author | initramfs <initramfs@initramfs.io> | 2022-09-10 09:06:08 +0800 |
---|---|---|
committer | initramfs <initramfs@initramfs.io> | 2022-09-10 09:10:30 +0800 |
commit | 768f562c09f6e6cadaf7fccd51d48d30173f54bc (patch) | |
tree | 2be4d55d4cd61e9a4c4dc2094c1e1f5c6462bde1 /interface-definitions/policy-local-route.xml.in | |
parent | 65d00bbd7331fdfae18b0919308c653159e74033 (diff) | |
download | vyos-1x-768f562c09f6e6cadaf7fccd51d48d30173f54bc.tar.gz vyos-1x-768f562c09f6e6cadaf7fccd51d48d30173f54bc.zip |
policy: T4685: fix non-existent inbound-interface on commit
The local-policy and local-policy6 nodes were missing their priority
property causing an ordering issue between the creation of dynamic
interfaces (like VLAN/Bonding) and referencing said interface in PBR
rules.
Add a priority value to order local-policy(6) to be after all interface
definitions.
Diffstat (limited to 'interface-definitions/policy-local-route.xml.in')
-rw-r--r-- | interface-definitions/policy-local-route.xml.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/interface-definitions/policy-local-route.xml.in b/interface-definitions/policy-local-route.xml.in index d969613b1..8619e839e 100644 --- a/interface-definitions/policy-local-route.xml.in +++ b/interface-definitions/policy-local-route.xml.in @@ -6,6 +6,7 @@ <node name="local-route" owner="${vyos_conf_scripts_dir}/policy-local-route.py"> <properties> <help>IPv4 policy route of local traffic</help> + <priority>500</priority> </properties> <children> <tagNode name="rule"> @@ -96,6 +97,7 @@ <node name="local-route6" owner="${vyos_conf_scripts_dir}/policy-local-route.py"> <properties> <help>IPv6 policy route of local traffic</help> + <priority>500</priority> </properties> <children> <tagNode name="rule"> |