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:
Richard Frith-Macdonald 2002-11-13 15:12:39 +00:00
parent 127209ff2d
commit b67bd9b8f4
3 changed files with 37 additions and 7 deletions

View file

@ -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;