Changes in uspace/srv/net/dhcp/main.c [4c6fd56:ca48672] in mainline
- File:
-
- 1 edited
-
uspace/srv/net/dhcp/main.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/main.c
r4c6fd56 rca48672 1 1 /* 2 * Copyright (c) 202 3Jiri Svoboda2 * Copyright (c) 2025 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>41 40 #include <ipc/dhcp.h> 42 41 #include <ipc/services.h> … … 61 60 dhcpsrv_links_init(); 62 61 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 69 62 async_set_fallback_port_handler(dhcp_client_conn, NULL); 70 63 … … 76 69 77 70 service_id_t sid; 78 rc = loc_service_register(srv, SERVICE_NAME_DHCP, &sid); 71 rc = loc_service_register(srv, SERVICE_NAME_DHCP, fallback_port_id, 72 &sid); 79 73 if (rc != EOK) { 80 74 loc_server_unregister(srv);
Note:
See TracChangeset
for help on using the changeset viewer.
