commit | f5a1312eaaec6e89fbd49661ecacf8ed585f178c | [log] [tgz] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Sun Mar 23 17:38:16 2014 +0100 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Tue Oct 21 16:30:09 2014 +0200 |
tree | 2357838079e890d8b1dbe54db89aad7eee47e793 | |
parent | d6b721c7ee23cdfffbb792721ca72f56a8425850 [diff] [blame] |
Add UDP support to the NET module
diff --git a/programs/ssl/ssl_server.c b/programs/ssl/ssl_server.c index 9e09799..962b098 100644 --- a/programs/ssl/ssl_server.c +++ b/programs/ssl/ssl_server.c
@@ -159,7 +159,7 @@ printf( " . Bind on https://localhost:4433/ ..." ); fflush( stdout ); - if( ( ret = net_bind( &listen_fd, NULL, 4433 ) ) != 0 ) + if( ( ret = net_bind( &listen_fd, NULL, 4433, NET_PROTO_TCP ) ) != 0 ) { printf( " failed\n ! net_bind returned %d\n\n", ret ); goto exit;