In message <cak-wpoj1rtskwdzvo5pvz2nmxexhcib2n+mdokppm5crhkq...@mail.gmail.com>
, Leif Pedersen writes:

>> > - Using VCL_IP for the fallback parameter restricts what you can use to
>> > client.ip or server.ip. This might or might not be a problem.
>> > I wrote a similar function a while ago that was using a STRING parameter as
>> > suggested by Tollef. Not sure if this is still required.

VCL_IP is the right type.

I can't remember if VCC has code to type-convert a STRING to IP, but
if not, that should be added.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to