From 6c24c8a8d3f4698af5994535f9267b3ecfb383c8 Mon Sep 17 00:00:00 2001 From: Jan Willamowius Date: Tue, 20 Sep 2005 14:34:32 +0000 Subject: [PATCH] bugfix: $HTTPPORT{ALL} is not used --- src/lib/Spong/Network/plugins/check_http | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Spong/Network/plugins/check_http b/src/lib/Spong/Network/plugins/check_http index b6e4a72..c7d9195 100755 --- a/src/lib/Spong/Network/plugins/check_http +++ b/src/lib/Spong/Network/plugins/check_http @@ -33,7 +33,7 @@ sub check_http { $method =~ s/\s$//; # remove trailing spaces my($hpart,$urlpath) = ( $url =~ m|^([^/]+)(/.*)| ); my($hname,$port) = split(/:/,$hpart); - $port = 80 if ! $port; + $port = $http_port if ! $port; #$hname = $host if ( ! $hname || $hname eq '_HOST_' ); if ( ! $hname ) { $hname = $host; -- 2.30.2