immortalwrt/package/network/services/openvpn
Jo-Philipp Wich 0dc0b8e582
openvpn: fix arguments passing to wrapped up and down scripts
With the introduction of the generic OpenVPN hotplug mechanism, wrapped
--up and --down scripts got the wrong amount and order of arguments passed,
breaking existing configurations and functionality.

Fix this issue by passing the same amount of arguments in the same expected
order as if the scripts were executed by the OpenVPN daemon directly.

Ref: https://github.com/openwrt/openwrt/pull/1596#issuecomment-668935156
Fixes: 8fe9940db6 ("openvpn: add generic hotplug mechanism")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2020-08-07 17:56:18 +08:00
..
files openvpn: fix arguments passing to wrapped up and down scripts 2020-08-07 17:56:18 +08:00
patches openvpn: update to 2.4.9 2020-04-19 19:56:35 +08:00
Config-mbedtls.in fix permission 2019-09-30 14:27:46 +08:00
Config-nossl.in fix permission 2019-09-30 14:27:46 +08:00
Config-openssl.in fix permission 2019-09-30 14:27:46 +08:00
Makefile openvpn: fix arguments passing to wrapped up and down scripts 2020-08-07 17:56:18 +08:00