On Mar 11, 2014, at 11:40 AM, Gisle Vanem wrote:
> Applying this patch fixes it though:
Checked into the trunk and pushed.
> Time for an INET6 aware util.c print-function for these cases?
ip6addr_string() is a macro wrapper for getname6().
getname6() uses both gethostbyaddr() and inet_ntop()
I'm sure my old MSVC v16 has a bit stupid C-preprocessor. At least when
expanding this (line 153):
ND_PRINT((ndo, "%s%s", sep,
#ifdef INET6
ip6addr_string(cp)
#else
"(compiled w/o IPv6)"
#endif /* INET6 */
into this (all on one line):
(*ndo->ndo_printf)(ndo, "%s%s", sep