diff options
Diffstat (limited to 'nuttx/net/socket/net_close.c')
-rw-r--r-- | nuttx/net/socket/net_close.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/net/socket/net_close.c b/nuttx/net/socket/net_close.c index 428f6590f..a66fe8ff1 100644 --- a/nuttx/net/socket/net_close.c +++ b/nuttx/net/socket/net_close.c @@ -358,9 +358,9 @@ static inline int netclose_disconnect(FAR struct socket *psock) /* Notify the device driver of the availability of TX data */ #ifdef CONFIG_NET_MULTILINK - netdev_txnotify(conn->lipaddr, conn->ripaddr); + netdev_txnotify(conn->u.ipv4.laddr, conn->u.ipv4.raddr); #else - netdev_txnotify(conn->ripaddr); + netdev_txnotify(conn->u.ipv4.raddr); #endif #ifdef CONFIG_NET_SOLINGER |