Changeset ebb1489 in mainline for uspace/srv/net/dhcp/dhcp.c
- Timestamp:
- 2024-10-13T08:23:40Z (2 months ago)
- Children:
- 0472cf17
- Parents:
- 2a0c827c (diff), b3b79981 (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. - git-author:
- boba-buba <120932204+boba-buba@…> (2024-10-13 08:23:40)
- git-committer:
- GitHub <noreply@…> (2024-10-13 08:23:40)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/dhcp/dhcp.c
r2a0c827c rebb1489 1 1 /* 2 * Copyright (c) 202 2Jiri Svoboda2 * Copyright (c) 2024 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 71 71 static list_t dhcp_links; 72 72 73 bool inetcfg_inited = false; 74 73 75 static void dhcpsrv_discover_timeout(void *); 74 76 static void dhcpsrv_request_timeout(void *); … … 468 470 log_msg(LOG_DEFAULT, LVL_DEBUG, "dhcpsrv_link_add(%zu)", link_id); 469 471 472 if (!inetcfg_inited) { 473 rc = inetcfg_init(); 474 if (rc != EOK) { 475 log_msg(LOG_DEFAULT, LVL_ERROR, "Error contacting " 476 "inet configuration service.\n"); 477 return EIO; 478 } 479 480 inetcfg_inited = true; 481 } 482 470 483 if (dhcpsrv_link_find(link_id) != NULL) { 471 484 log_msg(LOG_DEFAULT, LVL_NOTE, "Link %zu already added",
Note:
See TracChangeset
for help on using the changeset viewer.