redirect wrapper: Adopt to new squid helper protocol.

This commit is contained in:
Michael Tremer
2014-06-02 17:45:09 +02:00
parent 943be282da
commit 8bab8832b7
2 changed files with 2 additions and 1 deletions

View File

@@ -10,6 +10,7 @@ srv/web/ipfire/cgi-bin/ovpnmain.cgi
srv/web/ipfire/cgi-bin/proxy.cgi
srv/web/ipfire/html/themes/ipfire/include/functions.pl
usr/bin/squidGuard
usr/sbin/redirect_wrapper
usr/sbin/updxlrator
usr/local/bin/setddns.pl
var/ipfire/langs

View File

@@ -100,7 +100,7 @@ while($line = <>) {
}
# break if redirector changes data
if($return ne "\n" and $return ne $line ){
if($return ne "ERR\n" and $return ne $line ){
if ( $redirectors->[$i] ne "/usr/sbin/updxlrator"){
if ($debug){
writetolog($redirectors->[$i]." is stopping querry because block was found.");