diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2019-02-18 15:35:04 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2019-02-18 16:02:03 +0100 |
commit | 1f01299c677653cf6d67c82c2df7b7e028508876 (patch) | |
tree | 77d829052aa45c25e492c1f42ccaeec1019a0f13 /src/odhcpd.h | |
parent | 67b3a141da8bbfd9fc506d043f1e7e1a92e2c7f9 (diff) |
config: fix build failure in case DHCPv4 support is disabled
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'src/odhcpd.h')
-rw-r--r-- | src/odhcpd.h | 3 |
1 files changed, 1 insertions, 2 deletions
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 |