vpnc-script-win: lots of improvement
- simplify 'internal gateway' calculation
- cleanup spacing, clarify comments
- add legacy IP split-exclude handling
- add FIXMEs regarding IPv6 split-excludes and gateways
- use
TUNIDXinstead ofwaitForInterface()andTUNDEV - dump stdout and stderr when a command fails
- delete DNS and WINS servers before adding them
- make VPN addresses/gateways "non-persistent", and delete them on disconnect
- tidy up, more logging
Edited by Daniel Lenski