[PATCH] better getaddrinfo(3) support in ArgusAddHostList

Harry Bock harry at oshean.org
Fri Jul 10 12:33:18 EDT 2009


Hi Carter,

Sorry for the lack of communication in recent weeks, but things have been
going very well in developing my Argus client.

I hit a bit of a snag using ArgusAddHostList, where the resulting ArgusInput
structure does not fill in the 'hostname' or 'addr' fields when using
getaddrinfo(3) instead of gethostbyname(3).  Attached is a tested patch
against argus-clients-3.0.1-beta8 that provides support equivalent to
gethostbyname; it's small enough that hopefully it would still apply against
beta9, but I will rebase against that shortly anyway.

Thanks,
Harry

-- 
Harry Bock
Software Developer, Package Maintainer
OSHEAN, Inc.
Email: harry at oshean.org
PGP Key ID: 546CC353
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20090710/cbc44c77/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: argus_util.c.getaddrinfo.patch
Type: text/x-patch
Size: 767 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20090710/cbc44c77/attachment.bin>


More information about the argus mailing list