[squid-users] Re: acl aclname myip

From: Mikio Kishi <mkishi_at_104.net>
Date: Sun, 25 Oct 2009 00:41:17 +0900

Hi, all

> acl testmyip myip 1.1.1.1/32
>
> But, the following error occurred.
>
> 2009/10/16 14:03:21| aclParseAclLine: Invalid ACL type 'myip'
>
> I guess that src/AclReg.cc needs the following line.
>
> ACL::Prototype ACLMyIP::RegistryProtoype(&ACLMyIP::RegistryEntry_, "myip");

How about the above ? Something wrong ?
Please give me some advice...

Sincerely,

--
Mikio Kishi
On Sun, Oct 18, 2009 at 3:52 AM, Mikio Kishi <mkishi_at_104.net> wrote:
> Hi, all
>
> I'd like to use "acl aclname myip" on squid-3.1.0.14 like the following.
>
>  acl testmyip myip 1.1.1.1/32
>
> But, the following error occurred.
>
>  2009/10/16 14:03:21| aclParseAclLine: Invalid ACL type 'myip'
>
> I guess that src/AclReg.cc needs the following line.
>
>  ACL::Prototype ACLMyIP::RegistryProtoype(&ACLMyIP::RegistryEntry_, "myip");
>
> What do you think ?
>
> Sincerely,
>
> --
> Mikio Kishi
>
Received on Sat Oct 24 2009 - 15:41:25 MDT

This archive was generated by hypermail 2.2.0 : Sun Oct 25 2009 - 12:00:02 MDT