K 10 svn:author V 2 dd K 8 svn:date V 27 2001-12-20T04:37:46.000000Z K 7 svn:log V 518 Change the type of 'l' (in main()) from u_long to in_addr_t like it should have been all this time. This unbreaks DNS lookups on platforms where 'long' is not 32 bits (e.g., Alpha) because _gethostbydnsaddr() (in gethostbydns.c), called via gethostbyaddr(), will check that the given length corresponds to the length of addresses in the given family, and fail with EINVAL if it isn't. This change does not apply to -CURRENT because the latter uses realhostname() (which doesn't have this bug) to do its DNS lookups. END