Index: scheduler/auth.c =================================================================== --- scheduler/auth.c (revision 11496) +++ scheduler/auth.c (working copy) @@ -1226,6 +1226,8 @@ netip6[3] = htonl(ip[3]); #endif /* AF_INET6 */ + cupsdNetIFUpdate(); + if (!strcmp(mask->mask.name.name, "*")) { #ifdef __APPLE__ @@ -1241,8 +1243,6 @@ * Check against all local interfaces... */ - cupsdNetIFUpdate(); - for (iface = (cupsd_netif_t *)cupsArrayFirst(NetIFList); iface; iface = (cupsd_netif_t *)cupsArrayNext(NetIFList)) Index: scheduler/network.c =================================================================== --- scheduler/network.c (revision 11496) +++ scheduler/network.c (working copy) @@ -133,7 +133,10 @@ */ if (getifaddrs(&addrs) < 0) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Unable to get interface list - %s", strerror(errno)); return; + } for (addr = addrs; addr != NULL; addr = addr->ifa_next) { @@ -148,7 +151,10 @@ #endif ) || addr->ifa_netmask == NULL || addr->ifa_name == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Ignoring \"%s\".", addr->ifa_name); continue; + } /* * Try looking up the hostname for the address as needed... @@ -178,7 +184,10 @@ hostlen = strlen(hostname); if ((temp = calloc(1, sizeof(cupsd_netif_t) + hostlen)) == NULL) + { + cupsdLogMessage(CUPSD_LOG_DEBUG, "cupsdNetIFUpdate: Unable to allocate memory for interface."); break; + } /* * Copy all of the information...