strongswan: fix OpenWrt hotplug script handling
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 13 Sep 2018 10:26:20 +0000 (12:26 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 13 Sep 2018 12:37:53 +0000 (14:37 +0200)
commitd0ac611bf0dbf10d16e1b3dae6ba1d3ea80befc6
treebedc759170cf9dd1ce39dcc9143806ca1fb02527
parentaf5f04a0686dea2236ffe0345ab1cc90132f4d04
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>
net/strongswan/patches/300-include-ipsec-hotplug.patch