diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-21 21:41:41 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-21 21:41:41 +0100 |
commit | 3584691b35f35e40a1bfc22c34da031141fd0dfa (patch) | |
tree | 264b571f5d52494ac809832d701f0693ec4a91da /src/conf_mode/interfaces-wireguard.py | |
parent | 18483a2f7d18aecb40b2003cec9a9dae6bcfaa24 (diff) | |
download | vyos-1x-3584691b35f35e40a1bfc22c34da031141fd0dfa.tar.gz vyos-1x-3584691b35f35e40a1bfc22c34da031141fd0dfa.zip |
qos: T4284: initial XML interface definitions for rewrite
Diffstat (limited to 'src/conf_mode/interfaces-wireguard.py')
-rwxr-xr-x | src/conf_mode/interfaces-wireguard.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/conf_mode/interfaces-wireguard.py b/src/conf_mode/interfaces-wireguard.py index da64dd076..dc0fe7b9c 100755 --- a/src/conf_mode/interfaces-wireguard.py +++ b/src/conf_mode/interfaces-wireguard.py @@ -28,6 +28,7 @@ from vyos.configverify import verify_vrf from vyos.configverify import verify_address from vyos.configverify import verify_bridge_delete from vyos.configverify import verify_mtu_ipv6 +from vyos.configverify import verify_redirect from vyos.ifconfig import WireGuardIf from vyos.util import check_kmod from vyos.util import check_port_availability @@ -70,6 +71,7 @@ def verify(wireguard): verify_mtu_ipv6(wireguard) verify_address(wireguard) verify_vrf(wireguard) + verify_redirect(wireguard) if 'private_key' not in wireguard: raise ConfigError('Wireguard private-key not defined') |