summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-23 10:52:24 +0000
committerChristian Poessinger <christian@poessinger.com>2021-06-09 18:49:48 +0200
commit17ec438016ce56299c3b6d682cad35e763d1b02a (patch)
treed603ed88e7aebd898c9839e88ad7637951f216c0
parenteb6526fb0a466ec122950c43143e483cec9ad57d (diff)
downloadvyatta-cfg-vpn-17ec438016ce56299c3b6d682cad35e763d1b02a.tar.gz
vyatta-cfg-vpn-17ec438016ce56299c3b6d682cad35e763d1b02a.zip
cfg-vpn: T2916: T2855: Fix typo for vti interface disable state
(cherry picked from commit 2d24f456b15dd3a5c53b8119cbc98f45fba3f89e)
-rwxr-xr-xscripts/vyatta-vti-config.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-vti-config.pl b/scripts/vyatta-vti-config.pl
index 0318b22..00685d5 100755
--- a/scripts/vyatta-vti-config.pl
+++ b/scripts/vyatta-vti-config.pl
@@ -239,7 +239,7 @@ sub vti_handle_updown {
my ($intfName, $conn_name, $action) = @_;
my $vcIntf = new Vyatta::Config();
$vcIntf->setLevel('interfaces');
- my $disabled = $vcIntf->existsOrig("vti $intfName disabled");
+ my $disabled = $vcIntf->existsOrig("vti $intfName disable");
if (!defined($disabled) || !$disabled) {
my $vcVPN = new Vyatta::Config();
$vcVPN->setLevel('vpn ipsec site-to-site');