diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/vyos-update-nhrp.pl | 5 |
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; |