summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-09-23 17:55:39 +0700
committerGitHub <noreply@github.com>2020-09-23 17:55:39 +0700
commitc3c27021ac9b8b3d946e4d7a5eeb9b47e3e3206c (patch)
tree99294433426fb98756efd2b21f07ff77a55d49b1
parent10b8c6fdde6b6abc06200d60218950a9af81e34e (diff)
parent2d24f456b15dd3a5c53b8119cbc98f45fba3f89e (diff)
downloadvyatta-cfg-vpn-c3c27021ac9b8b3d946e4d7a5eeb9b47e3e3206c.tar.gz
vyatta-cfg-vpn-c3c27021ac9b8b3d946e4d7a5eeb9b47e3e3206c.zip
Merge pull request #39 from sever-sever/T2916
cfg-vpn: T2916: Fix typo for vti interface disable state
-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');