Typo.
authorasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 21 Sep 2011 16:43:25 +0000 (16:43 +0000)
committerasterix <asterix@38d2e660-2303-0410-9eaa-f027e97ec537>
Wed, 21 Sep 2011 16:43:25 +0000 (16:43 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@5082 38d2e660-2303-0410-9eaa-f027e97ec537

boards/sam3x-ek/examples/sam3x-ek_http_server/main.c

index 276265a66418f804a839fefa8766cd32298a4df3..d7b3770640bba46325eb82dc66afdff3c4ebbe93 100644 (file)
@@ -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);