summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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")) {