summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-pppoe.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-06-30 17:20:26 +0200
committerChristian Poessinger <christian@poessinger.com>2020-07-01 19:06:56 +0200
commit9afc69f83f5e6f44751c3d6c546ea7614baff41c (patch)
treeb1120fdfb2257037f3ba323a3550d7ee9dd787bf /src/conf_mode/interfaces-pppoe.py
parent65fa21f5e79114fa861d99eae154baad35ce2f11 (diff)
downloadvyos-1x-9afc69f83f5e6f44751c3d6c546ea7614baff41c.tar.gz
vyos-1x-9afc69f83f5e6f44751c3d6c546ea7614baff41c.zip
ifconfig: T2653: use better names for vyos.configverify functions
Diffstat (limited to 'src/conf_mode/interfaces-pppoe.py')
-rwxr-xr-xsrc/conf_mode/interfaces-pppoe.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interfaces-pppoe.py b/src/conf_mode/interfaces-pppoe.py
index 503a263f8..1194ceb89 100755
--- a/src/conf_mode/interfaces-pppoe.py
+++ b/src/conf_mode/interfaces-pppoe.py
@@ -24,7 +24,7 @@ from netifaces import interfaces
from vyos.config import Config
from vyos.configdict import dict_merge
from vyos.configverify import verify_source_interface
-from vyos.configverify import verify_bridge_vrf
+from vyos.configverify import verify_vrf
from vyos.template import render
from vyos.util import call
from vyos.xml import defaults
@@ -71,7 +71,7 @@ def verify(pppoe):
return None
verify_source_interface(pppoe)
- verify_bridge_vrf(pppoe)
+ verify_vrf(pppoe)
if {'connect_on_demand', 'vrf'} <= set(pppoe):
raise ConfigError('On-demand dialing and VRF can not be used at the same time')