diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-23 10:07:41 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-07 09:44:35 +0200 |
commit | 37c6d9fae5172b0342f94212e6483b3aa8fcd673 (patch) | |
tree | c23c5b65a1ca0b050906d09dca734d93c8a98a53 /src/conf_mode/interfaces-pppoe.py | |
parent | 25069b949eb97c1308ec927b53ac0c2d9d118467 (diff) | |
download | vyos-1x-37c6d9fae5172b0342f94212e6483b3aa8fcd673.tar.gz vyos-1x-37c6d9fae5172b0342f94212e6483b3aa8fcd673.zip |
qos: T4284: support mirror and redirect on all interface types
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-x | src/conf_mode/interfaces-pppoe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py index 9962e0a08..bfb1fadd5 100755 --- a/src/conf_mode/interfaces-pppoe.py +++ b/src/conf_mode/interfaces-pppoe.py @@ -28,7 +28,7 @@ from vyos.configverify import verify_source_interface from vyos.configverify import verify_interface_exists from vyos.configverify import verify_vrf from vyos.configverify import verify_mtu_ipv6 -from vyos.configverify import verify_redirect +from vyos.configverify import verify_mirror_redirect from vyos.ifconfig import PPPoEIf from vyos.template import render from vyos.util import call @@ -86,7 +86,7 @@ def verify(pppoe): verify_authentication(pppoe) verify_vrf(pppoe) verify_mtu_ipv6(pppoe) - verify_redirect(pppoe) + verify_mirror_redirect(pppoe) if {'connect_on_demand', 'vrf'} <= set(pppoe): raise ConfigError('On-demand dialing and VRF can not be used at the same time') |