summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunar Borge <runar@borge.nu>2018-08-19 08:43:28 +0200
committerRunar Borge <runar@borge.nu>2018-08-19 08:43:28 +0200
commitf94b146bbd576aca29e51557e56764e9693d020f (patch)
treeed97cbac04f0b64cc186b7f7d961e4863a977a2c
parenteb8d3d05b26056f4c34f4aa39b14928afb944914 (diff)
downloadvyos-opennhrp-f94b146bbd576aca29e51557e56764e9693d020f.tar.gz
vyos-opennhrp-f94b146bbd576aca29e51557e56764e9693d020f.zip
T787: Fix typo in opennhrp-script
-rwxr-xr-xetc/opennhrp-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/opennhrp-script b/etc/opennhrp-script
index 7a28e06..f21c3a9 100755
--- a/etc/opennhrp-script
+++ b/etc/opennhrp-script
@@ -24,7 +24,7 @@ peer-up)
echo "Create link from $NHRP_SRCADDR ($NHRP_SRCNBMA) to $NHRP_DESTADDR ($NHRP_DESTNBMA)"
if [[ ( ${_type} == "spoke" ) && ( -e ${_strongswan_pid} ) ]]; then
if grep "${NHRP_SRCADDR}" "${_nhrp_ipsec}"; then
- swanctl -t -S $NHRP_SRCNBMA -R $NHRP_DESTNBMA /dev/null 2>&1
+ swanctl -t -S $NHRP_SRCNBMA -R $NHRP_DESTNBMA > /dev/null 2>&1
swanctl -i -c dmvpn -S $NHRP_SRCNBMA -R $NHRP_DESTNBMA || exit 1
fi
fi