Add 'reconnect' invocation of vpnc-script, to re-ensure routing/DNS setup
authorDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 29 May 2011 08:16:08 +0000 (09:16 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 29 May 2011 08:23:29 +0000 (09:23 +0100)
commit0fb268f0fe305d1d977c87d13406a176a55049bb
treefd5c9f8ae50b5e477ffd12cbd927042670ba04df
parent64eddc7926a2760ef68e6a45ac4562f39e731deb
Add 'reconnect' invocation of vpnc-script, to re-ensure routing/DNS setup

If we reconnect because of an actual local network disconnect/reconnect, then
something (DHCP, etc.) may have screwed up the routing and DNS according to
the local configuration. Give the script a chance to remedy that.

With iproute (i.e. modern Linux) it ought to work just to make vpnc-script
do the same as it does on 'connect'. For other systems it's somewhat harder.

For now vpnc-script will ignore it, anyway.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
openconnect-internal.h
openconnect.html
tun.c