Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dhcp/main.c

    r1bbc6dc r4c6fd56  
    11/*
    2  * Copyright (c) 2024 Jiri Svoboda
     2 * Copyright (c) 2023 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    3838#include <str_error.h>
    3939#include <io/log.h>
     40#include <inet/inetcfg.h>
    4041#include <ipc/dhcp.h>
    4142#include <ipc/services.h>
     
    5960
    6061        dhcpsrv_links_init();
     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        }
    6168
    6269        async_set_fallback_port_handler(dhcp_client_conn, NULL);
Note: See TracChangeset for help on using the changeset viewer.