diff options
Diffstat (limited to 'apps/examples/dhcpd')
-rw-r--r-- | apps/examples/dhcpd/target.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/examples/dhcpd/target.c b/apps/examples/dhcpd/target.c index b34ec9b69..ca3228e50 100644 --- a/apps/examples/dhcpd/target.c +++ b/apps/examples/dhcpd/target.c @@ -115,17 +115,17 @@ int dhcpd_main(int argc, char *argv[]) /* Set up our host address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_DHCPD_IPADDR); - netlib_sethostaddr("eth0", &addr); + netlib_set_ipv4addr("eth0", &addr); /* Set up the default router address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_DHCPD_DRIPADDR); - netlib_setdraddr("eth0", &addr); + netlib_set_dripv4addr("eth0", &addr); /* Setup the subnet mask */ addr.s_addr = HTONL(CONFIG_EXAMPLES_DHCPD_NETMASK); - netlib_setnetmask("eth0", &addr); + netlib_set_ipv4netmask("eth0", &addr); /* Then start the server */ |