From ca6a85fd8363cbc789e660977b8879c4abe41ce0 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 29 Nov 2008 01:36:38 +0000 Subject: package/olsrd-luci: add exception for Ip6AddrType option applications/luci-olsr: add support for Ip6AddrType option --- applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'applications') diff --git a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua index 0f8bc4236..4da1c4060 100644 --- a/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua +++ b/applications/luci-olsr/luasrc/model/cbi/olsr/olsrd.lua @@ -114,6 +114,13 @@ i:option(Value, "MidValidityTime").optional = true i:option(Value, "HnaInterval").optional = true i:option(Value, "HnaValidityTime").optional = true +ip6t = i:option(ListValue, "Ip6AddrType") +ip6t:value("auto") +ip6t:value("site-local") +ip6t:value("unique-local") +ip6t:value("global") +ip6t.optional = true + adc = i:option(Flag, "AutoDetectChanges") adc.enabled = "yes" adc.disabled = "no" -- cgit v1.2.3