Skip to content

Commit 09dc430

Browse files
committed
Remove reference to udp from test.h.
1 parent 4880377 commit 09dc430

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

wolfssh/test.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -441,8 +441,8 @@ static INLINE void build_addr(SOCKADDR_IN_T* addr, const char* peer,
441441
memset(&hints, 0, sizeof(hints));
442442

443443
hints.ai_family = AF_INET_V;
444-
hints.ai_socktype = udp ? SOCK_DGRAM : SOCK_STREAM;
445-
hints.ai_protocol = udp ? IPPROTO_UDP : IPPROTO_TCP;
444+
hints.ai_socktype = SOCK_STREAM;
445+
hints.ai_protocol = IPPROTO_TCP;
446446

447447
WSNPRINTF(strPort, sizeof(strPort), "%d", port);
448448
strPort[79] = '\0';

0 commit comments

Comments
 (0)