summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-12-03 22:00:33 +0100
committerSteven Barth <steven@midlink.org>2013-12-03 22:00:33 +0100
commit1565d76bd6ff2d1064c3d30e947dc70613417853 (patch)
treec0dca5b2447e09124a0b93cfa5e472f74f9b94ba /src/odhcpd.h
parentd02dc222e61e2464bf850a629030c8a8b9b57ee8 (diff)
Fix prefix class logic
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 510dd6a..727c638 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -195,7 +195,7 @@ int init_ubus(void);
const char* ubus_get_ifname(const char *name);
void ubus_apply_network(void);
bool ubus_has_prefix(const char *name, const char *ifname);
-uint16_t ubus_get_class(const char *ifname, const struct in6_addr *addr);
+bool ubus_get_class(const char *ifname, const struct in6_addr *addr, uint16_t *pclass);
#endif