mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-04 05:29:04 +00:00
simplified
This commit is contained in:
parent
16c212798f
commit
07a2179953
@ -69,7 +69,7 @@ tcpip_handler(void)
|
|||||||
#if SERVER_REPLY
|
#if SERVER_REPLY
|
||||||
uip_ipaddr_copy(&server_conn->ripaddr, &UIP_IP_BUF->srcipaddr);
|
uip_ipaddr_copy(&server_conn->ripaddr, &UIP_IP_BUF->srcipaddr);
|
||||||
uip_udp_packet_send(server_conn, "Reply", sizeof("Reply"));
|
uip_udp_packet_send(server_conn, "Reply", sizeof("Reply"));
|
||||||
memset(&server_conn->ripaddr, 0, sizeof(&server_conn->ripaddr));
|
uip_create_unspecified(&server_conn->ripaddr);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user