Invoke vpnc-script with "pre-init" to load tun module if necessary
authorDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 10 Apr 2012 15:33:00 +0000 (16:33 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Tue, 10 Apr 2012 15:33:00 +0000 (16:33 +0100)
commit9186ea2aed6baed40092100f310411cd136c1220
treeb36a1e0b9970aea06ca6335e9101550bfcac76e0
parent666845605a75901706fce52b9a4e1cd44cc04126
Invoke vpnc-script with "pre-init" to load tun module if necessary

Shift the os-specific tun setup out into a separate function, just because
it declares local variables and the pre-init script call is now happening
before that in the code block.

Clean up script invocation a little too, and fix the fact that we'd run the
script with "reconnect" reason even if there wasn't a script at all.

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
cstp.c
openconnect-internal.h
tun.c
www/changelog.xml