diff options
author | Patrick Grimm <stargieg@gmail.com> | 2015-06-15 03:39:59 +0200 |
---|---|---|
committer | Patrick Grimm <stargieg@gmail.com> | 2015-06-15 03:39:59 +0200 |
commit | f35dce59337a8b0a0acdf362e3f8f092647c9374 (patch) | |
tree | 39c17bfd03b49d1ed51d79c72656354314cb2a5d /src/odhcpd.h | |
parent | 9117bc46f629c515bc686c22a652c9074562b891 (diff) |
dhcpv4: add ubus_get_address4 ubus_get_mask4 function
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |