Code

The "--serverip" and "--requestedip" options now accept host names, too.
authorHolger Weiss <hweiss@users.sourceforge.net>
Thu, 26 Jul 2007 17:32:37 +0000 (17:32 +0000)
committerHolger Weiss <hweiss@users.sourceforge.net>
Thu, 26 Jul 2007 17:32:37 +0000 (17:32 +0000)
commit0a02314e8d520766a9a00712ab49c02f1ebb7a63
tree342b042a94e467c55dd2921cf2d5af70bb4d61c7
parentee33124028a0a5adb13123c0683b04323d26c3b3
The "--serverip" and "--requestedip" options now accept host names, too.
This doesn't quite fit the option names and so far I haven't changed the
"--help" output which currently only talks about IP addresses.  However,
I don't see why resolving host names should not be supported.

Also note that for the moment, I added a quick'n'dirty resolve_host()
function which should really go into netutils.c.  I just wanted to think
about its interface a bit more before providing such a function globally.

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1766 f882894a-f735-0410-b71e-b25c423dba1c
NEWS
plugins-root/check_dhcp.c