commit | db2468d7aab57701441835d8ba865fdab587038d | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jun 30 17:19:48 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Tue Jun 30 17:19:48 2015 +0200 |
tree | b706d4e471a4a3a92c86e63b3c69e873b27a2aea | |
parent | 3d7d00ad23a490eed6d78db58bbbe3dba99f8fef [diff] [blame] |
Update old comment
diff --git a/library/net.c b/library/net.c index ed8ed7a..7e72e08 100644 --- a/library/net.c +++ b/library/net.c
@@ -176,7 +176,7 @@ 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;