1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

shell/cord_ep: used COAP_PORT as default port

This commit is contained in:
Hauke Petersen 2018-12-06 11:46:21 +01:00
parent 0c5219f603
commit 3b842ba16a

View File

@ -35,7 +35,7 @@ static int make_sock_ep(sock_udp_ep_t *ep, const char *addr)
ep->family = AF_INET6;
ep->netif = SOCK_ADDR_ANY_NETIF;
if (ep->port == 0) {
ep->port = CORD_SERVER_PORT;
ep->port = COAP_PORT;
}
return 0;
}