[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-users] [lwip] another bug in arp.c
From: |
leon . woestenberg |
Subject: |
[lwip-users] [lwip] another bug in arp.c |
Date: |
Wed, 08 Jan 2003 22:53:10 -0000 |
Hi Adam,
found a bug in arp_query():
hdr->opcode = htons(ARP_REQUEST);
for(i = 0; i < 6; ++i) {
hdr->dhwaddr.addr[i] = 0x00; <-----------use 0x00 instead of 0xff
hdr->shwaddr.addr[i] = ethaddr->addr[i];
}
This applies to the ARP header. The Ethernet header must use 0xff tripplet
of course.
Regards, Leon.
P.S. Sorry, my earlier "no-more-bugs" report was false :-)
[This message was sent through the lwip discussion list.]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-users] [lwip] another bug in arp.c,
leon . woestenberg <=