From db2468d7aab57701441835d8ba865fdab587038d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= Date: Tue, 30 Jun 2015 17:19:48 +0200 Subject: [PATCH] Update old comment --- library/net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/net.c b/library/net.c index ed8ed7a7a..7e72e0864 100644 --- a/library/net.c +++ b/library/net.c @@ -176,7 +176,7 @@ int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char if( ( ret = net_prepare() ) != 0 ) return( ret ); - /* Bind to IPv6 and/or IPv4, but only in TCP */ + /* Bind to IPv6 and/or IPv4, but only in the desired protocol */ memset( &hints, 0, sizeof( hints ) ); hints.ai_family = AF_UNSPEC; hints.ai_socktype = proto == MBEDTLS_NET_PROTO_UDP ? SOCK_DGRAM : SOCK_STREAM;