From 7103b67707aac1a44b64211b45eca9c5c54bef2d Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Sun, 29 Mar 2015 14:37:13 +0200 Subject: Remove prefix coloring support, refine hybrid management mode --- src/odhcpd.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/odhcpd.c') diff --git a/src/odhcpd.c b/src/odhcpd.c index 24ef891..76dee9e 100644 --- a/src/odhcpd.c +++ b/src/odhcpd.c @@ -256,14 +256,6 @@ ssize_t odhcpd_get_interface_addresses(int ifindex, if (ifa->ifa_flags & IFA_F_DEPRECATED) addrs[ret].preferred = 0; - addrs[ret].has_class = false; - addrs[ret].class = 0; -#ifdef WITH_UBUS - struct interface *iface = odhcpd_get_interface_by_index(ifindex); - if (iface) - addrs[ret].has_class = ubus_get_class(iface->ifname, - &addrs[ret].addr, &addrs[ret].class); -#endif ++ret; } -- cgit v1.2.3