]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Author: Mikio Kishi <mkishi@104.net>
authorAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Nov 2009 09:32:08 +0000 (22:32 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 3 Nov 2009 09:32:08 +0000 (22:32 +1300)
Regression Fix: myip ACL not accepted in config.

src/AclRegs.cc

index 7dc4ea420733b630cf79225f5179021a40171e99..842069c8aa1b8cf21c7080f5eeede7fef6795e19 100644 (file)
@@ -95,8 +95,8 @@ ACL::Prototype ACLMaxConnection::RegistryProtoype(&ACLMaxConnection::RegistryEnt
 ACLMaxConnection ACLMaxConnection::RegistryEntry_("maxconn");
 ACL::Prototype ACLMethod::RegistryProtoype(&ACLMethod::RegistryEntry_, "method");
 ACLStrategised<HttpRequestMethod> ACLMethod::RegistryEntry_(new ACLMethodData, ACLMethodStrategy::Instance(), "method");
+ACL::Prototype ACLMyIP::RegistryProtoype(&ACLMyIP::RegistryEntry_, "myip");
 ACLMyIP ACLMyIP::RegistryEntry_;
-ACLMyIP const &ACLMyIP::RegistryEntry() {return RegistryEntry_;}
 ACL::Prototype ACLMyPort::RegistryProtoype(&ACLMyPort::RegistryEntry_, "myport");
 ACLStrategised<int> ACLMyPort::RegistryEntry_(new ACLIntRange, ACLMyPortStrategy::Instance(), "myport");
 ACL::Prototype ACLMyPortName::RegistryProtoype(&ACLMyPortName::RegistryEntry_, "myportname");