Changeset e1e4192 in mainline for uspace/srv/net/inetsrv/inetsrv.c
- Timestamp:
- 2012-06-03T20:45:58Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 90478727
- Parents:
- f7e69f5 (diff), 3123d2a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/inetsrv/inetsrv.c
rf7e69f5 re1e4192 66 66 static int inet_init(void) 67 67 { 68 service_id_t sid;69 int rc;70 71 68 log_msg(LVL_DEBUG, "inet_init()"); 72 69 73 70 async_set_client_connection(inet_client_conn); 74 75 rc = loc_server_register(NAME);71 72 int rc = loc_server_register(NAME); 76 73 if (rc != EOK) { 77 74 log_msg(LVL_ERROR, "Failed registering server (%d).", rc); 78 75 return EEXIST; 79 76 } 80 77 78 service_id_t sid; 81 79 rc = loc_service_register_with_iface(SERVICE_NAME_INET, &sid, 82 80 INET_PORT_DEFAULT); … … 85 83 return EEXIST; 86 84 } 87 85 88 86 rc = loc_service_register_with_iface(SERVICE_NAME_INETCFG, &sid, 89 87 INET_PORT_CFG); … … 92 90 return EEXIST; 93 91 } 94 92 95 93 rc = loc_service_register_with_iface(SERVICE_NAME_INETPING, &sid, 96 94 INET_PORT_PING); … … 99 97 return EEXIST; 100 98 } 101 99 102 100 rc = inet_link_discovery_start(); 103 101 if (rc != EOK) 104 102 return EEXIST; 105 103 106 104 return EOK; 107 105 }
Note:
See TracChangeset
for help on using the changeset viewer.