Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tun: Don't call tunnel script on reconnect events
If --script-tun is used, the vpnc_script is not invoked for pre-init, connect, or disconnect events. However, it is invoked on reconnect, and this may confuse the tunnel script. Add an extra check to script_config_tun() to make the reconnect behavior consistent with the behavior of other events. Signed-off-by: Kevin Cernekee <firstname.lastname@example.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
Showing with 1 addition and 1 deletion.
- +1 −1 tun.c