Parent Directory | Revision Log | Patch
revision 1.2 by adamdunkels, Wed Oct 23 20:12:18 2002 UTC | revision 1.3 by jani, Wed Dec 18 12:49:02 2002 UTC | |
---|---|---|
# | Line 441 com_stat(struct command *com) | Line 441 com_stat(struct command *com) |
441 | u16_t len; | u16_t len; |
442 | ||
443 | for(i = 0; i < sizeof(struct stats_) / 2; i++) { | for(i = 0; i < sizeof(struct stats_) / 2; i++) { |
444 | len = sprintf(buf, "%d", ((u16_t *)&stats)[i]); | len = sprintf(buf, "%d", ((u16_t *)&lwip_stats)[i]); |
445 | sendstr(stat_msgs[i], com->conn); | sendstr(stat_msgs[i], com->conn); |
446 | netconn_write(com->conn, buf, len, NETCONN_COPY); | netconn_write(com->conn, buf, len, NETCONN_COPY); |
447 | sendstr("\n", com->conn); | sendstr("\n", com->conn); |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |