INADDR_NONE no longer used.

This commit is contained in:
Gisle Vanem
2007-02-06 19:14:33 +00:00
parent 078fc4186b
commit 529e01736c

View File

@@ -49,10 +49,6 @@ extern int optind;
extern char *optarg; extern char *optarg;
#endif #endif
#ifndef INADDR_NONE
#define INADDR_NONE 0xffffffff
#endif
#ifndef HAVE_STRUCT_IN6_ADDR #ifndef HAVE_STRUCT_IN6_ADDR
struct in6_addr struct in6_addr
{ {
@@ -87,7 +83,6 @@ int main(int argc, char **argv)
dbug_init(); dbug_init();
#endif #endif
break; break;
case 't': case 't':
if (!strcasecmp(optarg,"a")) if (!strcasecmp(optarg,"a"))
addr_family = AF_INET; addr_family = AF_INET;