diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-08-19 14:04:45 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-19 14:04:45 +0700 |
commit | 41f0852dd0b8d4900a1a743334d88afe490ee587 (patch) | |
tree | ed97cbac04f0b64cc186b7f7d961e4863a977a2c | |
parent | eb8d3d05b26056f4c34f4aa39b14928afb944914 (diff) | |
parent | f94b146bbd576aca29e51557e56764e9693d020f (diff) | |
download | vyos-opennhrp-41f0852dd0b8d4900a1a743334d88afe490ee587.tar.gz vyos-opennhrp-41f0852dd0b8d4900a1a743334d88afe490ee587.zip |
Merge pull request #1 from runborg/current
T787: Fix typo in opennhrp-script
-rwxr-xr-x | etc/opennhrp-script | 2 |
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 |