summaryrefslogtreecommitdiff
path: root/scripts/vyatta-vti-config.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-vti-config.pl')
-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');