diff options
author | Kim Hagen <khagen@multi-development.com> | 2014-08-26 10:46:38 +0200 |
---|---|---|
committer | Kim Hagen <khagen@multi-development.com> | 2014-08-26 10:46:38 +0200 |
commit | ca19a8965bb71318701cb95ce506bda7b1f6f74d (patch) | |
tree | 2c6a8c9ca534ebd957ca623bc489fcd6bf9ba07c | |
parent | 77e5d5fc0acab1f072e6c4ba86099bf532edb916 (diff) | |
download | vyos-nhrp-ca19a8965bb71318701cb95ce506bda7b1f6f74d.tar.gz vyos-nhrp-ca19a8965bb71318701cb95ce506bda7b1f6f74d.zip |
Replace variable name with correct one
-rw-r--r-- | scripts/vyos-update-nhrp.pl | 2 |
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")) { |