luci/modules/luci-base/luasrc/model/cbi
Jo-Philipp Wich 11b271d4a9 luci-base: properly option ipaddr in single cidr string notation as well
When an interface configuration specifies both "option ipaddr 1.2.3.4/24"
and "option netmask", then netifd will ignore the netmask in favor to the
prefix encoded in the cidr string.

Support this variant as well by treating a sole cidr string value as
singöe-item cidr list.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-12-13 11:57:16 +01:00
..
admin_network luci-base: properly option ipaddr in single cidr string notation as well 2018-12-13 11:57:16 +01:00