summaryrefslogtreecommitdiff
path: root/nuttx/net/udp/udp.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/net/udp/udp.h')
-rw-r--r--nuttx/net/udp/udp.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/nuttx/net/udp/udp.h b/nuttx/net/udp/udp.h
index 758f89a96..fd60b7ca8 100644
--- a/nuttx/net/udp/udp.h
+++ b/nuttx/net/udp/udp.h
@@ -67,10 +67,7 @@ struct udp_hdr_s; /* Forward reference */
struct udp_conn_s
{
dq_entry_t node; /* Supports a doubly linked list */
-#ifdef CONFIG_NETDEV_MULTINIC
- net_ipaddr_t lipaddr; /* Bound local IP address (network byte order) */
-#endif
- net_ipaddr_t ripaddr; /* IP address of remote peer (network byte order) */
+ union ip_binding_u u; /* IP address binding */
uint16_t lport; /* Bound local port number (network byte order) */
uint16_t rport; /* Remote port number (network byte order) */
uint8_t ttl; /* Default time-to-live */