Search squid archive

Re: Trouble adding a new Squid configuration parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/19/2013 12:48 PM, Peter Belau wrote:

> I'm trying to add a configuration derive to Squid by modifying cf.data.pre
> My addition looks like this:
> 
> NAME: scrly_internal_ip_address
> TYPE: string
> LOC:
> Config.scrly_internal_ip_address
> DEFAULT: none
> DOC_START
> DOC_END
> 
> 
> However, when I attempt to build Squid I get the following error:
> 
> In file included from cache_cf.cc:3401:0:
> cf_parser.cci: In function ‘int parse_line(char*)’:
> cf_parser.cci:2645:30: error: ‘class SquidConfig’ has no member named ‘scrly_internal_ip_address’
> 
> 
> Any ideas on what I'm doing wrong and how I could fix it ?


Hi Peter,

    Squid development should be discussed on the squid-dev mailing list
rather than here, but the answer to your question is that you need to
add a new data member called "scrly_internal_ip_address" to the
SquidConfig class (src/SquidConfig.h). That addition will not be done
automatically for you.

BTW, the proper TYPE for an IP addresses is usually "address", not
"string", but YMMV.


HTH,

Alex.





[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux