Changes in uspace/srv/net/dnsrsrv/dnsrsrv.c [0aa70f4:b688fd8] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dnsrsrv.c
r0aa70f4 rb688fd8 60 60 rc = transport_init(); 61 61 if (rc != EOK) { 62 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing t arnsport.");62 log_msg(LOG_DEFAULT, LVL_ERROR, "Failed initializing transport."); 63 63 return EIO; 64 64 } 65 65 66 async_set_ client_connection(dnsr_client_conn);66 async_set_fallback_port_handler(dnsr_client_conn, NULL); 67 67 68 68 rc = loc_server_register(NAME); … … 89 89 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_get_srvaddr_srv()"); 90 90 91 uint16_t af= IPC_GET_ARG1(*icall);91 ip_ver_t ver = IPC_GET_ARG1(*icall); 92 92 93 93 char *name; … … 100 100 101 101 dns_host_info_t *hinfo; 102 rc = dns_name2host(name, &hinfo, af);102 rc = dns_name2host(name, &hinfo, ver); 103 103 if (rc != EOK) { 104 104 async_answer_0(iid, rc);
Note:
See TracChangeset
for help on using the changeset viewer.