From d94a24a1f3bf86065aa463efe4359d07ac272631 Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Mon, 25 Aug 2014 12:08:12 +0200 Subject: Add 'shortcut-destination' option --- scripts/vyos-update-nhrp.pl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') 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; -- cgit v1.2.3