From 1f01299c677653cf6d67c82c2df7b7e028508876 Mon Sep 17 00:00:00 2001 From: Hans Dedecker Date: Mon, 18 Feb 2019 15:35:04 +0100 Subject: config: fix build failure in case DHCPv4 support is disabled Signed-off-by: Hans Dedecker --- src/odhcpd.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/odhcpd.h') diff --git a/src/odhcpd.h b/src/odhcpd.h index 6524e84..e346e97 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -347,8 +347,6 @@ void ubus_bcast_dhcp_event(const char *type, const uint8_t *mac, const size_t ma const struct in_addr *addr, const char *name, const char *interface); #endif -void dhcpv4_free_assignment(struct dhcp_assignment *a); - ssize_t dhcpv6_ia_handle_IAs(uint8_t *buf, size_t buflen, struct interface *iface, const struct sockaddr_in6 *addr, const void *data, const uint8_t *end); int dhcpv6_ia_init(void); @@ -378,6 +376,7 @@ int dhcpv6_init(void); int ndp_init(void); #ifdef DHCPV4_SUPPORT int dhcpv4_init(void); +void dhcpv4_free_assignment(struct dhcp_assignment *a); int dhcpv4_setup_interface(struct interface *iface, bool enable); #endif -- cgit v1.2.3