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

src/AclRegs.cc

index 3101d97248bab28da68a561bfd1ab46d4ffadfe2..91dab5c3cc7113c77050b308e4838c6cf99010b9 100644 (file)
@@ -89,8 +89,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");