summaryrefslogtreecommitdiff
path: root/src/conf_mode/interfaces-vti.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/conf_mode/interfaces-vti.py')
-rwxr-xr-xsrc/conf_mode/interfaces-vti.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/conf_mode/interfaces-vti.py b/src/conf_mode/interfaces-vti.py
index 57950ffea..f4b0436af 100755
--- a/src/conf_mode/interfaces-vti.py
+++ b/src/conf_mode/interfaces-vti.py
@@ -19,6 +19,7 @@ from sys import exit
from vyos.config import Config
from vyos.configdict import get_interface_dict
+from vyos.configverify import verify_mirror_redirect
from vyos.ifconfig import VTIIf
from vyos.util import dict_search
from vyos import ConfigError
@@ -35,10 +36,11 @@ def get_config(config=None):
else:
conf = Config()
base = ['interfaces', 'vti']
- vti = get_interface_dict(conf, base)
+ _, vti = get_interface_dict(conf, base)
return vti
def verify(vti):
+ verify_mirror_redirect(vti)
return None
def generate(vti):