summaryrefslogtreecommitdiffhomepage
path: root/src/odhcpd.h
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2013-10-15 13:43:45 +0200
committerSteven Barth <steven@midlink.org>2013-10-15 13:43:45 +0200
commitab6cef402c4f5982fddf72a8633d2a463e8d9006 (patch)
tree786827ae48bba11f2abb05151b008322149a217c /src/odhcpd.h
parent8cc7121600eab0e28495e48f559d4886ba879c95 (diff)
Fix ubus reload detection
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r--src/odhcpd.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/odhcpd.h b/src/odhcpd.h
index fb3db37..531a0ff 100644
--- a/src/odhcpd.h
+++ b/src/odhcpd.h
@@ -188,9 +188,12 @@ void odhcpd_hexlify(char *dst, const uint8_t *src, size_t len);
int config_parse_interface(struct blob_attr *b, const char *iname, bool overwrite);
+#ifdef WITH_UBUS
+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);
+#endif
// Exported module initializers
@@ -198,7 +201,6 @@ int init_router(void);
int init_dhcpv6(void);
int init_dhcpv4(void);
int init_ndp(void);
-int init_ubus(void);
int setup_router_interface(struct interface *iface, bool enable);
int setup_dhcpv6_interface(struct interface *iface, bool enable);