summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index 82ba46b..b8cbeb2 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -209,8 +209,8 @@ 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);
-struct in_addr* ubus_get_address4(const char *name);
-struct in_addr* ubus_get_mask4(const char *name);
+const char* ubus_get_address4(const char *name);
+int ubus_get_mask4(const char *name);
#endif