Open bestpika opened 7 years ago
This may need a fix similar to #167.
But udp already does this https://github.com/jcw/ethercard/blob/master/tcpip.cpp#L377
Can you confirm you are using the latest version of the library?
I use git clone https://github.com/jcw/ethercard.git
to clone this repo.
So I think I get the latest version.
It is possible that we have a /24 assumption somewhere in the code.
Can you get a packet capture (tcpdump -s 1500) of the thing trying to transmit packets? (I know this is difficult if they are not arriving at 172.16.255.2, but maybe they are being sent out incorrectly)
Same problem with repo clone today.
I can't send udp packet to local network without gateway. But can send to broadcast address (255.255.255.255).