summaryrefslogtreecommitdiff
path: root/lib/Vyatta/VPN/vtiIntf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Vyatta/VPN/vtiIntf.pm')
-rwxr-xr-xlib/Vyatta/VPN/vtiIntf.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/VPN/vtiIntf.pm b/lib/Vyatta/VPN/vtiIntf.pm
index daec058..4e52fff 100755
--- a/lib/Vyatta/VPN/vtiIntf.pm
+++ b/lib/Vyatta/VPN/vtiIntf.pm
@@ -70,7 +70,7 @@ sub parseVtiTun {
if ($tunop =~ m/local ([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+)/) {
$local = $1;
}
- if ($tunop =~ m/okey ([0-9\.]+)/) {
+ if ($tunop =~ m/key ([0-9\.]+)/) {
$mark = $1;
}
return($remote, $local, $tunName, $mark);