mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Patch by Tom Koelman
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@14985 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
127209ff2d
commit
b67bd9b8f4
3 changed files with 37 additions and 7 deletions
|
@ -1106,7 +1106,7 @@ init_iface()
|
|||
u_long nFlags = InterfaceList[i].iiFlags;
|
||||
|
||||
if ((nFlags & IFF_UP)
|
||||
&& (InterfaceList[i].iiAddress.sa_family == AF_INET))
|
||||
&& (InterfaceList[i].iiAddress.Address.sa_family == AF_INET))
|
||||
{
|
||||
countActive++;
|
||||
}
|
||||
|
@ -1129,7 +1129,7 @@ init_iface()
|
|||
u_long nFlags = InterfaceList[i].iiFlags;
|
||||
|
||||
if ((nFlags & IFF_UP)
|
||||
&& (InterfaceList[i].iiAddress.sa_family == AF_INET))
|
||||
&& (InterfaceList[i].iiAddress.Address.sa_family == AF_INET))
|
||||
{
|
||||
int broadcast = 0;
|
||||
int pointopoint = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue