X-Git-Url: http://git.archive.openwrt.org/?a=blobdiff_plain;f=src%2Fodhcpd.h;h=45badd3c012acbf553f773ce536e342132ca5117;hb=fd80621fea5cafcdca3f7fe762fede374a66e4b2;hp=a49ab57986b31b8a632b50c9a1b4b46385afb9e8;hpb=cf29925b29a4e4e38ab88573f12ec075eacb3d22;p=project%2Fodhcpd.git diff --git a/src/odhcpd.h b/src/odhcpd.h index a49ab57..45badd3 100644 --- a/src/odhcpd.h +++ b/src/odhcpd.h @@ -315,12 +315,14 @@ void netlink_dump_addr_table(const bool v6); int netlink_init(void); int router_init(void); int dhcpv6_init(void); -int dhcpv4_init(void); int ndp_init(void); +#ifdef DHCPV4_SUPPORT +int dhcpv4_init(void); +int dhcpv4_setup_interface(struct interface *iface, bool enable); +#endif int router_setup_interface(struct interface *iface, bool enable); int dhcpv6_setup_interface(struct interface *iface, bool enable); int ndp_setup_interface(struct interface *iface, bool enable); -int dhcpv4_setup_interface(struct interface *iface, bool enable); void odhcpd_reload(void);