xinu-os / xinu

Repository for Xinu source code
http://xinu-os.org/
Other
432 stars 128 forks source link

Problem in network stack #6

Open cycl0ne opened 8 years ago

cycl0ne commented 8 years ago

Hi,

there seems to be a problem in the network stack in the arp part. To be exactly in this part: https://github.com/xinu-os/xinu/blob/master/network/arp/arpRecv.c

In line 103/104 it says: /* Verify protocol address is mine */ if (netaddrequal(&netptr->ip, &dpa))

Problem here: if i netup the etherloop as 127.0.0.1 with a broadcast of 255.0.0.0 and ping 127.0.0.2, the check fails (127.0.0.1 != 127.0.0.2) and then the system hangs/Timeouts. Shouldnt the check there be over the whole network? (255.0.0.0) ?

Cheers C.