From: serassio <> Date: Sat, 24 Sep 2005 20:41:50 +0000 (+0000) Subject: Bug #1394: invalid host is processed as IP 255.255.255.255 X-Git-Tag: SQUID_3_0_PRE4~603 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=656393e2e3e32176dc5c844f989a27feebd99208;p=thirdparty%2Fsquid.git Bug #1394: invalid host is processed as IP 255.255.255.255 this patch changes acl processing to not match dst acls if the destination IP is not known instead of matching as the invalid IP 255.255.255.255. Forward port of 2.5 patch. --- diff --git a/src/ACLDestinationIP.cc b/src/ACLDestinationIP.cc index d808144fe5..a5db7a20a2 100644 --- a/src/ACLDestinationIP.cc +++ b/src/ACLDestinationIP.cc @@ -65,7 +65,7 @@ ACLDestinationIP::match(ACLChecklist *checklist) checklist->changeState (DestinationIPLookup::Instance()); return 0; } else { - return ACLIP::match(no_addr); + return 0; } }