luci-base: fix host validation function
Allow only ipv4 or ipv6 addresses without IP mask.
A host IP with mask does not make sense in this context.
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
parent
da7c3d92
Please register or sign in to comment