[En-Nut-Discussion] Problem with connection to Ethernut
Bengt Florin
bengt at florin.se
Thu Jan 22 12:24:05 CET 2004
Yes, I solved this by updating the ARP cache when receiving the pings.
Snippet from ipin.c
...
NutArpCacheUpdate(dev, ip->ip_src, ((ETHERHDR *)nb->nb_dl.vp)->ether_shost);
switch (ip->ip_p) {
...
Now Arp cahce will be updated with all talks IP to us.
Don't know if this is by the book, but it solved some of my problems.
Regards
Bengan
More information about the En-Nut-Discussion
mailing list