diff options
author | Patrick Grimm <patrick@lunatiki.de> | 2015-06-18 04:27:24 +0200 |
---|---|---|
committer | Patrick Grimm <patrick@lunatiki.de> | 2015-06-18 04:27:24 +0200 |
commit | d5b2b5353e99552ac68fef21a19fdb9157dcf96b (patch) | |
tree | bcb277d5175aaca10b88c19ba4f5af87ee5b6ab0 /src/odhcpd.h | |
parent | f35dce59337a8b0a0acdf362e3f8f092647c9374 (diff) |
dhcpv4: fix char ubus_get_address4 int ubus_get_mask4 function
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 4 |
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 |