struct config {
bool legacy;
+ bool main_dhcpv4;
char *dhcp_cb;
char *dhcp_statefile;
int log_level;
// Exported module initializers
int init_router(void);
int init_dhcpv6(void);
+#ifdef DHCPV4_SUPPORT
int init_dhcpv4(void);
+#endif
int init_ndp(void);
int setup_router_interface(struct interface *iface, bool enable);
int setup_dhcpv6_interface(struct interface *iface, bool enable);
int setup_ndp_interface(struct interface *iface, bool enable);
+#ifdef DHCPV4_SUPPORT
int setup_dhcpv4_interface(struct interface *iface, bool enable);
+#endif
void odhcpd_reload(void);