This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "IPFire 2.x development tree".
The branch, master has been updated via 98ccaf67ae109bc50f52516ac5c9ef39133930f3 (commit) from ba149d470bcc8056f4e55ddeef7aa90eb1f54313 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 98ccaf67ae109bc50f52516ac5c9ef39133930f3 Author: Arne Fitzenreiter arne_f@ipfire.org Date: Sat May 29 23:32:49 2010 +0200
Fix vpn-watch hang after a connection was restartet.
-----------------------------------------------------------------------
Summary of changes: config/rootfiles/core/38/filelists/files | 1 + src/scripts/vpn-watch | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
Difference in files: diff --git a/config/rootfiles/core/38/filelists/files b/config/rootfiles/core/38/filelists/files index 49a6886..ac7e56f 100644 --- a/config/rootfiles/core/38/filelists/files +++ b/config/rootfiles/core/38/filelists/files @@ -133,3 +133,4 @@ var/ipfire/updatexlrator/bin/lscache var/ipfire/updatexlrator/updxlrator-lib.pl var/log/cache var/log/updatexlrator +usr/local/bin/vpn-watch diff --git a/src/scripts/vpn-watch b/src/scripts/vpn-watch index 74a4dc5..c533f06 100755 --- a/src/scripts/vpn-watch +++ b/src/scripts/vpn-watch @@ -1,6 +1,6 @@ #!/usr/bin/perl ################################################## -##### VPN-Watch.pl Version 0.4 ##### +##### VPN-Watch.pl Version 0.4a ##### ################################################## # # # VPN-Watch is part of the IPFire Firewall # @@ -55,7 +55,7 @@ foreach (@vpnsettings){ if ( $established eq '' || $connected eq '' ){ logger("Remote IP for host $remotehostname has changed or no connection is established, restarting connection to $remoteip."); system("/usr/local/bin/ipsecctrl S $settings[0]"); - next; + last; #all connections will reloaded } if ($debug){logger("All connections may be fine nothing was done.");} }
hooks/post-receive -- IPFire 2.x development tree