Improved network interface support on MacOSX #2085
Improved network interface support on MacOSX
See attached patch.
The text was updated successfully, but these errors were encountered:
CUPS.org User: mike
OK, I've tweaked your changes slightly - basically, now we'll depend on NetIFUpdate on all platforms, with the old timeout logic being used on operating systems without the system management support. That should make adding the D-BUS stuff for Linux simpler (they have a similar set of network change notifications now) and limits the number of time() calls we do otherwise...
--- scheduler/sysman.c (revision 6073)
- NetIFTime = time(NULL) - 58;
keys = CFArrayCreate(NULL, (const void *)key,
if (CFArrayContainsValue(changedKeys, range, ComputerNameKey))
threadData->sysevent.event |= SYSEVENT_NAMECHANGED;
--- scheduler/network.c (revision 6073)
NetIFTime = time(NULL);