summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-09-23 10:52:24 +0000
committersever-sever <v.gletenko@vyos.io>2020-09-23 10:52:24 +0000
commit2d24f456b15dd3a5c53b8119cbc98f45fba3f89e (patch)
tree99294433426fb98756efd2b21f07ff77a55d49b1 /scripts
parent10b8c6fdde6b6abc06200d60218950a9af81e34e (diff)
downloadvyatta-cfg-vpn-2d24f456b15dd3a5c53b8119cbc98f45fba3f89e.tar.gz
vyatta-cfg-vpn-2d24f456b15dd3a5c53b8119cbc98f45fba3f89e.zip
cfg-vpn: T2916: Fix typo for vti interface disable state
Diffstat (limited to 'scripts')
-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');