From d559bea3ebb08291f2312551bfb43c91ba03c18c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 2 Jul 2014 16:52:02 -0600 Subject: NET: Rename functions in apps/netutils/netlib to begin with netlib_ vs uip_ --- apps/examples/dhcpd/target.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/examples/dhcpd') diff --git a/apps/examples/dhcpd/target.c b/apps/examples/dhcpd/target.c index 974970913..1a1359c8d 100644 --- a/apps/examples/dhcpd/target.c +++ b/apps/examples/dhcpd/target.c @@ -105,23 +105,23 @@ int dhcpd_main(int argc, char *argv[]) mac[3] = 0xad; mac[4] = 0xbe; mac[5] = 0xef; - uip_setmacaddr("eth0", mac); + netlib_setmacaddr("eth0", mac); #endif /* Set up our host address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_DHCPD_IPADDR); - uip_sethostaddr("eth0", &addr); + netlib_sethostaddr("eth0", &addr); /* Set up the default router address */ addr.s_addr = HTONL(CONFIG_EXAMPLES_DHCPD_DRIPADDR); - uip_setdraddr("eth0", &addr); + netlib_setdraddr("eth0", &addr); /* Setup the subnet mask */ addr.s_addr = HTONL(CONFIG_EXAMPLES_DHCPD_NETMASK); - uip_setnetmask("eth0", &addr); + netlib_setnetmask("eth0", &addr); /* Then start the server */ -- cgit v1.2.3