Changeset 5d1cb8a in mainline for uspace/srv/net/dnsrsrv/dnsrsrv.c
- Timestamp:
- 2013-05-03T21:11:23Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4e716180
- Parents:
- 8fdb18e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dnsrsrv/dnsrsrv.c
r8fdb18e r5d1cb8a 114 114 ipc_call_t *call) 115 115 { 116 // inet_addr_t remote;117 // uint8_t tos;118 // inet_addr_t local;119 // int rc;120 121 116 log_msg(LOG_DEFAULT, LVL_DEBUG, "inet_get_srvaddr_srv()"); 122 123 /* remote.ipv4 = IPC_GET_ARG1(*call); 124 tos = IPC_GET_ARG2(*call); 125 local.ipv4 = 0; 126 127 rc = inet_get_srcaddr(&remote, tos, &local);*/ 128 async_answer_1(callid, EOK, 0x01020304); 117 async_answer_1(callid, EOK, dns_server_addr.ipv4); 129 118 } 130 119 … … 132 121 ipc_call_t *call) 133 122 { 134 // inet_addr_t naddr;135 // int rc;136 137 123 log_msg(LOG_DEFAULT, LVL_DEBUG, "dnsr_set_srvaddr_srv()"); 138 124 139 // naddr.ipv4 = IPC_GET_ARG1(*call);125 dns_server_addr.ipv4 = IPC_GET_ARG1(*call); 140 126 141 /*rc = inet_get_srcaddr(&remote, tos, &local);*/142 127 async_answer_0(callid, EOK); 143 128 } … … 151 136 /* Accept the connection */ 152 137 async_answer_0(iid, EOK); 153 154 // inet_client_init(&client);155 138 156 139 while (true) { … … 179 162 } 180 163 } 181 182 // inet_client_fini(&client);183 164 } 184 165
Note:
See TracChangeset
for help on using the changeset viewer.