Please could someone post this bug? I do not know how to find out my
lost username to log-in.

Category:       LWIP_DEBUGF     Severity:       3 - Normal
Item Group:     Faulty Behaviour        Status:         Open
lwIP version:   1.3.2

In the file etharp.c, line 1155 in debug mode, the mac addresses and
frame type are defined as:
"ethernet_input: dest:%02x:%02x:%02x:%02x:%02x:%02x,
src:%02x:%02x:%02x:%02x:%02x:%02x, type:%2hx\n",

This format string violates some non-sprintf functions. Every port has
in the cc.h  /* Define (sn)printf formatters for these lwIP types */.
I would suggest to change to "ethernet_input:
dest:%02"X8_F":%02"X8_F":%02"X8_F":%02"X8_F":%02"X8_F":%02"X8_F",
src:%02"X8_F":%02"X8_F":%02"X8_F":%02"X8_F":%02"X8_F":%02"X8_F",
type:%2"U16_F"\n"

+ check the source code if there are other places with "hardcoded" values.

Regard,
Martin


_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to