fixed debug output to show the correct remote address
This commit is contained in:
parent
1cdbda249a
commit
89ce58f576
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ tcpip_handler(void)
|
|||
if(uip_newdata()) {
|
||||
((char *)uip_appdata)[uip_datalen()] = 0;
|
||||
PRINTF("Server received: '%s' from ", (char *)uip_appdata);
|
||||
PRINT6ADDR(&server_conn->ripaddr);
|
||||
PRINT6ADDR(&UIP_IP_BUF->srcipaddr);
|
||||
PRINTF("\n");
|
||||
|
||||
uip_ipaddr_copy(&server_conn->ripaddr, &UIP_IP_BUF->srcipaddr);
|
||||
|
|
Loading…
Reference in a new issue