temporary workaround for BSD network interface check (ppl)

This commit is contained in:
nehalmistry 2003-03-13 03:28:29 +00:00
parent 278e1d4c92
commit 230dbe233a

View file

@ -434,6 +434,10 @@ global void InitNetwork1(void)
}
}
#ifdef BSD
// FIXME: need a working interface check for BSD
NetworkNumInterfaces = 1;
#else
NetworkNumInterfaces = NetSocketAddr(NetworkFildes);
if (NetworkNumInterfaces) {
DebugLevel0Fn("Num IP: %d\n" _C_ NetworkNumInterfaces);
@ -445,6 +449,7 @@ global void InitNetwork1(void)
ExitNetwork1();
return;
}
#endif
IfDebug({
char buf[128];