From f35dce59337a8b0a0acdf362e3f8f092647c9374 Mon Sep 17 00:00:00 2001 From: Patrick Grimm Date: Mon, 15 Jun 2015 03:39:59 +0200 Subject: [PATCH] dhcpv4: add ubus_get_address4 ubus_get_mask4 function Signed-off-by: Patrick Grimm --- src/odhcpd.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/odhcpd.h b/src/odhcpd.h index 5944661..82ba46b 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -209,6 +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); #endif -- 2.30.2