Changes in uspace/srv/net/dhcp/main.c [ca48672:4c6fd56] in mainline
- File:
-
- 1 edited
-
uspace/srv/net/dhcp/main.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/main.c
rca48672 r4c6fd56 1 1 /* 2 * Copyright (c) 202 5Jiri Svoboda2 * Copyright (c) 2023 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 38 38 #include <str_error.h> 39 39 #include <io/log.h> 40 #include <inet/inetcfg.h> 40 41 #include <ipc/dhcp.h> 41 42 #include <ipc/services.h> … … 60 61 dhcpsrv_links_init(); 61 62 63 rc = inetcfg_init(); 64 if (rc != EOK) { 65 log_msg(LOG_DEFAULT, LVL_ERROR, "Error contacting inet configuration service.\n"); 66 return EIO; 67 } 68 62 69 async_set_fallback_port_handler(dhcp_client_conn, NULL); 63 70 … … 69 76 70 77 service_id_t sid; 71 rc = loc_service_register(srv, SERVICE_NAME_DHCP, fallback_port_id, 72 &sid); 78 rc = loc_service_register(srv, SERVICE_NAME_DHCP, &sid); 73 79 if (rc != EOK) { 74 80 loc_server_unregister(srv);
Note:
See TracChangeset
for help on using the changeset viewer.
