temporary workaround for BSD network interface check (ppl)
This commit is contained in:
parent
278e1d4c92
commit
230dbe233a
1 changed files with 5 additions and 0 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue