summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-08-26 10:46:38 +0200
committerKim Hagen <khagen@multi-development.com>2014-08-26 10:46:38 +0200
commitca19a8965bb71318701cb95ce506bda7b1f6f74d (patch)
tree2c6a8c9ca534ebd957ca623bc489fcd6bf9ba07c
parent77e5d5fc0acab1f072e6c4ba86099bf532edb916 (diff)
downloadvyos-nhrp-ca19a8965bb71318701cb95ce506bda7b1f6f74d.tar.gz
vyos-nhrp-ca19a8965bb71318701cb95ce506bda7b1f6f74d.zip
Replace variable name with correct one
-rw-r--r--scripts/vyos-update-nhrp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyos-update-nhrp.pl b/scripts/vyos-update-nhrp.pl
index 663332c..62b2b34 100644
--- a/scripts/vyos-update-nhrp.pl
+++ b/scripts/vyos-update-nhrp.pl
@@ -215,7 +215,7 @@ sub tunnel_config {
if ($tunnel_Config->returnValue("$tunnel_ID cisco-authentication") ne "") {
push(@conf_file, " cisco-authentication ", $tunnel_Config->returnValue("$tunnel_ID cisco-authentication") , "\n");
}
- if ( $tunnel_Config->exists("$tunnel_ID shortcut-target") && ($tunnel_Config->returnValue("$tunnel_ID holding-time") ne "")) {
+ if ( $tunnel_Config->exists("$tunnel_ID holding-time") && ($tunnel_Config->returnValue("$tunnel_ID holding-time") ne "")) {
push(@conf_file, " holding-time", " ", $tunnel_Config->returnValue("$tunnel_ID holding-time") , "\n");
}
if ($tunnel_Config->exists("$tunnel_ID shortcut")) {