From: Patrick Grimm Date: Mon, 15 Jun 2015 01:39:59 +0000 (+0200) Subject: dhcpv4: add ubus_get_address4 ubus_get_mask4 function X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f35dce59337a8b0a0acdf362e3f8f092647c9374;p=oweals%2Fodhcpd.git dhcpv4: add ubus_get_address4 ubus_get_mask4 function Signed-off-by: Patrick Grimm --- 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