Index: scheduler/main.c =================================================================== --- scheduler/main.c (revision 7125) +++ scheduler/main.c (working copy) @@ -133,6 +133,9 @@ browse_time, /* Next browse send time */ senddoc_time, /* Send-Document time */ expire_time, /* Subscription expire time */ +#ifndef __APPLE__ + netif_time, /* Network interface poll time */ +#endif /* !__APPLE__ */ mallinfo_time; /* Malloc information time */ size_t string_count, /* String count */ alloc_bytes, /* Allocated string bytes */ @@ -658,6 +661,9 @@ senddoc_time = time(NULL); expire_time = time(NULL); fds = 1; +#ifndef __APPLE__ + netif_time = 0; +#endif /* !__APPLE__ */ while (!stop_scheduler) { @@ -872,7 +878,19 @@ cupsArrayCount(Clients) < MaxClients) cupsdResumeListening(); +#ifndef __APPLE__ /* + * Except Mac OS X, all other operating systems need to poll for changes... + */ + + if ((current_time - netif_time) >= 60) + { + NetIFUpdate = 1; + netif_time = current_time; + } +#endif /* __APPLE__ */ + + /* * Expire subscriptions and unload completed jobs as needed... */