552 |
pcb->flags |= UDP_FLAGS_CONNECTED; |
pcb->flags |= UDP_FLAGS_CONNECTED; |
553 |
/** TODO: this functionality belongs in upper layers */ |
/** TODO: this functionality belongs in upper layers */ |
554 |
#if 0 |
#if 0 |
|
pcb->flags |= UDP_FLAGS_CONNECTED; |
|
555 |
/* Nail down local IP for netconn_addr()/getsockname() */ |
/* Nail down local IP for netconn_addr()/getsockname() */ |
556 |
if (ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) { |
if (ip_addr_isany(&pcb->local_ip) && !ip_addr_isany(&pcb->remote_ip)) { |
557 |
struct netif *netif; |
struct netif *netif; |