luci-mod-admin-full: Fix dhcpv6 ra_management option stateless value
authorHannu Nyman <hannu.nyman@iki.fi>
Sat, 19 Mar 2016 13:38:41 +0000 (15:38 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Sat, 19 Mar 2016 13:55:10 +0000 (15:55 +0200)
commit2c34a421a9ce44961bfde3f1d2aad585dcdd95ce
treef6875f019decc6da7d0eb5bd21e4bffc09639a95
parente8b6cbb530f4c31e53dbeb1ae62db8a8b912ef6c
luci-mod-admin-full: Fix dhcpv6 ra_management option stateless value

Fix dhcpv6 ra_management option's handling of "stateless" value.
Default value for the option is 1, so trying to store ""
instead of "0" for stateless is not working.

This fixes #676

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
(cherry picked from commit 355c21304afb0d388fb8bd6132e0dbcb19f03428)
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/ifaces.lua