mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
gdomap fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@6419 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3ec168cf69
commit
1410da0661
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2000-04-05 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Tools/gdomap.c: init_probe() fix bug placing incorrect responder
|
||||
address in broadcast probe.
|
||||
|
||||
2000-04-02 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSAttributedString.m: Infinite loop fix by Fred Kiefer to
|
||||
|
|
|
@ -1301,6 +1301,7 @@ init_probe()
|
|||
{
|
||||
if ((addr[iface].s_addr & mask[iface].s_addr) == nlist[i])
|
||||
{
|
||||
sin = addr[iface];
|
||||
if (bcok[iface])
|
||||
{
|
||||
/*
|
||||
|
@ -1331,7 +1332,6 @@ init_probe()
|
|||
inet_ntoa(mask[iface]), inet_ntoa(addr[iface]));
|
||||
hm |= ~255;
|
||||
}
|
||||
sin = addr[iface];
|
||||
net = ha & hm & ~255; /* class-c net number. */
|
||||
low = ha & hm & 255; /* low end of subnet. */
|
||||
high = low | (255 & ~hm); /* high end of subnet. */
|
||||
|
|
Loading…
Reference in a new issue