<div dir="ltr">I appreciate that but you could use AI_NUMERICHOST to avoid lookups. Currently that's not the case.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 9:35 AM, Poul-Henning Kamp <span dir="ltr"><<a href="mailto:phk@phk.freebsd.dk" target="_blank">phk@phk.freebsd.dk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In message <CAJV_h0Ye=<a href="mailto:GpGOo1H-gnemYkoWDnJa5PLJbReYCu9qdWkMPwd8A@mail.gmail.com">GpGOo1H-gnemYkoWDnJa5PLJbReYCu9qdWkMPwd8A@mail.gmail.com</a>><br>
<div class="">, Federico Schwindt writes:<br>
<br>
>I'm writing a vmod and I noticed std.ip() will happily resolve its argument<br>
>if a hostname is used. Feature or bug?<br>
<br>
</div>std.ip() does a getaddrinfo(3) on its argument by design.<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
--<br>
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20<br>
phk@FreeBSD.ORG | TCP/IP since RFC 956<br>
FreeBSD committer | BSD since 4.3-tahoe<br>
Never attribute to malice what can adequately be explained by incompetence.<br>
</font></span></blockquote></div><br></div>