summaryrefslogtreecommitdiff
path: root/scripts/vyos-update-nhrp.pl
diff options
context:
space:
mode:
authorKim Hagen <khagen@multi-development.com>2014-08-25 12:08:12 +0200
committerKim Hagen <khagen@multi-development.com>2014-08-25 12:08:12 +0200
commitd94a24a1f3bf86065aa463efe4359d07ac272631 (patch)
tree6e3e4598ba69e585bdf9fa7d24f2dce1da275953 /scripts/vyos-update-nhrp.pl
parent2484447ac37791188feae6b9bf2e5213a7682abc (diff)
downloadvyos-nhrp-d94a24a1f3bf86065aa463efe4359d07ac272631.tar.gz
vyos-nhrp-d94a24a1f3bf86065aa463efe4359d07ac272631.zip
Add 'shortcut-destination' optionmaster
Diffstat (limited to 'scripts/vyos-update-nhrp.pl')
-rw-r--r--scripts/vyos-update-nhrp.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/vyos-update-nhrp.pl b/scripts/vyos-update-nhrp.pl
index 7f4d62a..6e170e3 100644
--- a/scripts/vyos-update-nhrp.pl
+++ b/scripts/vyos-update-nhrp.pl
@@ -227,7 +227,10 @@ sub tunnel_config {
}
if ($tunnel_Config->exists("$tunnel_ID redirect")) {
push(@conf_file, " redirect\n");
- }
+ }
+ if ($tunnel_Config->exists("$tunnel_ID shortcut-destination")) {
+ push(@conf_file, " shortcut-destination\n");
+ }
push(@conf_file, "\n");
return @conf_file;