summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-08-19 14:04:45 +0700
committerGitHub <noreply@github.com>2018-08-19 14:04:45 +0700
commit41f0852dd0b8d4900a1a743334d88afe490ee587 (patch)
treeed97cbac04f0b64cc186b7f7d961e4863a977a2c
parenteb8d3d05b26056f4c34f4aa39b14928afb944914 (diff)
parentf94b146bbd576aca29e51557e56764e9693d020f (diff)
downloadvyos-opennhrp-41f0852dd0b8d4900a1a743334d88afe490ee587.tar.gz
vyos-opennhrp-41f0852dd0b8d4900a1a743334d88afe490ee587.zip
Merge pull request #1 from runborg/current
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