Skip to content
Commit f5a871bf authored by Daniel F. Dickinson's avatar Daniel F. Dickinson
Browse files

luci-base: Fix addr:port validate always fails



In cbi.js there is an error which causes ipaddrport validation to always fail.
JS match() return the entire match as ret[0] and individual matches (for multiple ()) as the
subsequent list members.  So we fix it by just fixing the index in the calls that want the
individual parts.

Signed-off-by: default avatarDaniel F. Dickinson <cshored@thecshore.com>
parent 66c2bbc2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment