From: asterix Date: Wed, 21 Sep 2011 16:43:25 +0000 (+0000) Subject: Typo. X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=27b6a54415e3ae37e8f684c92132d1b5bf2b410d;p=bertos.git Typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5082 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/boards/sam3x-ek/examples/sam3x-ek_http_server/main.c b/boards/sam3x-ek/examples/sam3x-ek_http_server/main.c index 276265a6..d7b37706 100644 --- a/boards/sam3x-ek/examples/sam3x-ek_http_server/main.c +++ b/boards/sam3x-ek/examples/sam3x-ek_http_server/main.c @@ -206,8 +206,8 @@ int main(void) continue; //Update board status. - sprintf(status.local_ip, "%d.%d.%d.%d", IP_ADDR_TO_INT_TUPLE(client->pcb.ip->remote_ip.addr)); - sprintf(status.last_connected_ip, "%d.%d.%d.%d", IP_ADDR_TO_INT_TUPLE(client->pcb.ip->local_ip.addr)); + sprintf(status.last_connected_ip, "%d.%d.%d.%d", IP_ADDR_TO_INT_TUPLE(client->pcb.ip->remote_ip.addr)); + sprintf(status.local_ip, "%d.%d.%d.%d", IP_ADDR_TO_INT_TUPLE(client->pcb.ip->local_ip.addr)); status.tot_req++; rx_buf_conn = netconn_recv(client);