You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Jo-Philipp Wich b92f54b919 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>
4 years ago
..
etc openvpn: fix arguments passing to wrapped up and down scripts 4 years ago
lib/functions openpvn: Split out config parsing code for reuse 4 years ago
usr/libexec openvpn: add generic hotplug mechanism 4 years ago
openvpn.config openvpn: revise sample configuration 4 years ago
openvpn.init openvpn: Allow override of interface name 4 years ago
openvpn.options openvpn: add generic hotplug mechanism 4 years ago
openvpn.upgrade openvpn: add from openvpn-devel from /packages, fix support for current polarssl 11 years ago