aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/services
diff options
context:
space:
mode:
authorSteven Barth <cyrus@openwrt.org>2013-12-05 12:17:09 +0000
committerSteven Barth <cyrus@openwrt.org>2013-12-05 12:17:09 +0000
commit4bdd40c08ba4dd8ca9597cab29dbbb60c3de6f04 (patch)
tree9b320bafa8ca464761d6240a9df427fa02d6eec8 /package/network/services
parent95065c08b0d9e6a8631e40d442ee2f60e480218a (diff)
downloadupstream-4bdd40c08ba4dd8ca9597cab29dbbb60c3de6f04.tar.gz
upstream-4bdd40c08ba4dd8ca9597cab29dbbb60c3de6f04.tar.bz2
upstream-4bdd40c08ba4dd8ca9597cab29dbbb60c3de6f04.zip
odhcpd/6c: Add config menu for prefix class ext.
SVN-Revision: 38996
Diffstat (limited to 'package/network/services')
-rw-r--r--package/network/services/odhcpd/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/network/services/odhcpd/Makefile b/package/network/services/odhcpd/Makefile
index e660600fee..c4f76cbd62 100644
--- a/package/network/services/odhcpd/Makefile
+++ b/package/network/services/odhcpd/Makefile
@@ -22,6 +22,10 @@ PKG_MAINTAINER:=Steven Barth <steven@midlink.org>
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
+ifneq ($(CONFIG_PACKAGE_odhcpd_ext_prefix_class),0)
+ CMAKE_OPTIONS += -DEXT_PREFIX_CLASS=$(CONFIG_PACKAGE_odhcpd_ext_prefix_class)
+endif
+
define Package/odhcpd
SECTION:=net
CATEGORY:=Network
@@ -29,6 +33,13 @@ define Package/odhcpd
DEPENDS:=+libubox +libuci +libubus
endef
+define Package/odhcpd/config
+ config PACKAGE_odhcpd_ext_prefix_class
+ int "Prefix Class Extension ID (0 = disabled)"
+ depends on PACKAGE_odhcpd
+ default 0
+endef
+
define Package/odhcpd/description
odhcpd is a daemon for serving and relaying IP management protocols to
configure clients and downstream routers. It tries to follow the RFC 6204