Closed
Description
Hello,
When sending a broadcast packet (255.255.255.255) the recipient MAC remains to 00:00:00:00:00:00. If not wrong, it should be also set to the broadcast MAC (as for the WOL packets for instance).
I made the following fix in tcpip.cpp, function EtherCard::udpPrepare:
replaced
if ((dip[0] & 0xF0) == 0xE0) // multicast address
by
if ((dip[0] & 0xF0) == 0xE0 || *((long *) dip) == 0xFFFFFFFF) // multicast or broadcast address
Seems to work.
Rgds,
L.
Metadata
Metadata
Assignees
Labels
No labels