From 2d24f456b15dd3a5c53b8119cbc98f45fba3f89e Mon Sep 17 00:00:00 2001 From: sever-sever Date: Wed, 23 Sep 2020 10:52:24 +0000 Subject: cfg-vpn: T2916: Fix typo for vti interface disable state --- scripts/vyatta-vti-config.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); -- cgit v1.2.3