ACK. I have not actually compile-tested this (buildbot will :-) ) but it looks reasonable and since we've decided to use idx for netsh.exe, it should be available to scripts too.
Your patch has been applied to the master and release/2.3 branch. I've taken the liberty of actually documenting $env_idx in doc/openvpn.8 commit 9dff2c1f106865a72a1d505076751dde170e88dc (master) commit 9fe2ac8d51b8182f5e8e41ce7c875f451de10191 (release/2.3) Author: Lev Stipakov List-Post: [email protected] Date: Sat Dec 12 14:34:20 2015 +0200 Pass adapter index to up/down scripts Signed-off-by: Lev Stipakov <[email protected]> Acked-by: Gert Doering <[email protected]> Message-Id: <[email protected]> URL: http://article.gmane.org/gmane.network.openvpn.devel/10762 Signed-off-by: Gert Doering <[email protected]> -- kind regards, Gert Doering
