print node ids correctly
This commit is contained in:
parent
b1fea35e47
commit
ccfb30707a
2 changed files with 3 additions and 2 deletions
|
@ -64,7 +64,8 @@ tcpip_handler(void)
|
|||
appdata = (char *)uip_appdata;
|
||||
appdata[uip_datalen()] = 0;
|
||||
PRINTF("DATA recv '%s' from ", appdata);
|
||||
PRINTF("%d", UIP_IP_BUF->srcipaddr.u8[15]);
|
||||
PRINTF("%d",
|
||||
UIP_IP_BUF->srcipaddr.u8[sizeof(UIP_IP_BUF->srcipaddr.u8) - 1]);
|
||||
PRINTF("\n");
|
||||
#if SERVER_REPLY
|
||||
uip_ipaddr_copy(&server_conn->ripaddr, &UIP_IP_BUF->srcipaddr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue