diff --git a/net/tcp/tcp_send_buffered.c b/net/tcp/tcp_send_buffered.c index 1d15f33e2ac..7ff9b166aaa 100644 --- a/net/tcp/tcp_send_buffered.c +++ b/net/tcp/tcp_send_buffered.c @@ -342,8 +342,8 @@ static inline bool psock_send_addrchck(FAR struct tcp_conn_s *conn) else #endif { - /* For historical reasons, we will return true if both the ARP and the - * routing table are disabled. + /* For historical reasons, we will return true if both the ICMPv6 + * neighbor support and the routing table are disabled. */ bool ret = true; diff --git a/net/tcp/tcp_send_unbuffered.c b/net/tcp/tcp_send_unbuffered.c index 58ec05fd0f5..cdfe5be6627 100644 --- a/net/tcp/tcp_send_unbuffered.c +++ b/net/tcp/tcp_send_unbuffered.c @@ -292,8 +292,8 @@ static inline bool psock_send_addrchck(FAR struct tcp_conn_s *conn) else #endif { - /* For historical reasons, we will return true if both the ARP and the - * routing table are disabled. + /* For historical reasons, we will return true if both the ICMPv6 + * neighbor support and the routing table are disabled. */ bool ret = true;