#include <ppp/ppp_msg.h>
+
+
#define kSCNetworkFlagsFirstResolvePending (1<<31)
return TRUE;
}
+
ok = __SCNetworkReachabilityGetFlags(&store, target, flags, NULL, FALSE);
*flags &= ~kSCNetworkFlagsFirstResolvePending;
if (store != NULL) CFRelease(store);
SCLog(_sc_debug, LOG_DEBUG, CFSTR("process reachability change"));
+
pthread_mutex_lock(&targetPrivate->lock);
/* update reachability, notify if status changed */