summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.c
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2015-03-29 14:37:13 +0200
committerSteven Barth <steven@midlink.org>2015-03-29 14:37:13 +0200
commit7103b67707aac1a44b64211b45eca9c5c54bef2d (patch)
treed1ebbca5e7afbf7b32044f770a9d711ba0cd2f63 /src/odhcpd.c
parent0a9d2fcf8e955b7e7a3247ef354a2d4e12a17f62 (diff)
Remove prefix coloring support, refine hybrid management mode
Diffstat (limited to 'src/odhcpd.c')
-rw-r--r--src/odhcpd.c8
1 files changed, 0 insertions, 8 deletions
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;
}