$NetBSD: patch-ax,v 1.1.1.1 2000/02/13 00:14:49 tron Exp $ --- src/domain.c.orig Sat Aug 2 20:06:53 1997 +++ src/domain.c Sat Feb 12 23:28:27 2000 @@ -362,13 +362,14 @@ if (host[0] == '[') { register char *p; + struct in_addr junk; /* this may be an MX suppression-style address */ p = strchr(MXHostBuf, ']'); if (p != NULL) { *p = '\0'; - if (inet_addr(&MXHostBuf[1]) != INADDR_NONE) + if (inet_aton(&MXHostBuf[1], &junk) != 0) { nmx++; *p = ']';