From 648d33d6142329151ca1ef61b50649477574c684 Mon Sep 17 00:00:00 2001 From: Heiko Zuerker Date: Mon, 25 Apr 2011 08:13:58 -0500 Subject: [PATCH] dhcp: allow IPv6 to be turned on Signed-off-by: Heiko Zuerker Signed-off-by: Peter Korsgaard --- package/dhcp/dhcp.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/package/dhcp/dhcp.mk b/package/dhcp/dhcp.mk index 64472c9e89..58fd47c8ad 100644 --- a/package/dhcp/dhcp.mk +++ b/package/dhcp/dhcp.mk @@ -13,8 +13,11 @@ DHCP_CONF_OPT = \ --with-cli-lease-file=/var/lib/dhcp/dhclient.leases \ --with-srv-pid-file=/var/run/dhcpd.pid \ --with-cli-pid-file=/var/run/dhclient.pid \ - --with-relay-pid-file=/var/run/dhcrelay.pid \ - --disable-dhcpv6 + --with-relay-pid-file=/var/run/dhcrelay.pid + +ifneq ($(BR2_INET_IPV6),y) + DHCP_CONF_OPT += --disable-dhcpv6 +endif ifeq ($(BR2_PACKAGE_DHCP_SERVER),y) define DHCP_INSTALL_SERVER