strongswan: fix OpenWrt hotplug script handling
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 13 Sep 2018 10:26:20 +0000 (12:26 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 24 Sep 2018 06:49:40 +0000 (08:49 +0200)
commit88715598b1a2acf985325abbbb26cf31b8ac2dfb
treee7404cc1e59409e7eb506ad379974604d06e4b72
parent1f4c93972ef6616acc897035c3cadd68947670b3
strongswan: fix OpenWrt hotplug script handling

Commit 6cd8fcabe added ipsec hotplug script support by calling "exec
/sbin/hotplug-call ipsec".
Using the exec call breaks the insertion of iptables rules by the _updown.in
script as hotplug-call just replaces the current shell meaning the commands
following exec do not run since the shell is replaced and as a result lead to
connectivity issues.
Fix this by removing the exec command in front of /sbin/hotplug-call.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
(cherry picked from commit d0ac611bf0dbf10d16e1b3dae6ba1d3ea80befc6)
net/strongswan/patches/300-include-ipsec-hotplug.patch