diff options
author | Jo-Philipp Wich <jo@mein.io> | 2018-12-13 11:57:16 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-12-13 11:57:16 +0100 |
commit | 11b271d4a9e2d4efcc42c4d65b778b3c3c37ea72 (patch) | |
tree | 000c1bb909c23a2cef4a411caa7ca257aa8b75bb /LICENSE | |
parent | 67c34c5f5f414f25a6aa3d4a92a9a78cce2c86c5 (diff) |
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>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions