mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
update isc_sockettype_t enum names
This commit is contained in:
@@ -384,7 +384,7 @@ main(int argc, char *argv[])
|
||||
sockaddr.type.sin.sin_family = AF_INET;
|
||||
sockaddr.type.sin.sin_port = htons(5555);
|
||||
sockaddr.length = sizeof (struct sockaddr_in);
|
||||
RUNTIME_CHECK(isc_socket_create(socketmgr, isc_socket_tcp, &s0) ==
|
||||
RUNTIME_CHECK(isc_socket_create(socketmgr, isc_sockettype_tcp, &s0) ==
|
||||
ISC_R_SUCCESS);
|
||||
RUNTIME_CHECK(isc_socket_bind(s0, &sockaddr) == ISC_R_SUCCESS);
|
||||
RUNTIME_CHECK(isc_socket_listen(s0, 0) == ISC_R_SUCCESS);
|
||||
|
Reference in New Issue
Block a user