Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luci-app-shadowsocks-libev: fix cidr datatype #2681

Merged
merged 1 commit into from Apr 23, 2019

Conversation

dibdot
Copy link
Contributor

@dibdot dibdot commented Apr 23, 2019

Signed-off-by: Dirk Brenken dev@brenken.org

@dibdot
Copy link
Contributor Author

dibdot commented Apr 23, 2019

@yousong @jow-

@yousong
Copy link
Member

yousong commented Apr 23, 2019

Hi @dibdot , thanks for taking care of this. The issue was caused by commit a86c068 . "cidr" as a validator is part of ubox validate command. Maybe we should add 'cidr' as a alias for cidr4 and cidr6 into LuCI

* add a new 'cidr' alias datatype to fix #2671

Signed-off-by: Dirk Brenken <dev@brenken.org>
@dibdot
Copy link
Contributor Author

dibdot commented Apr 23, 2019

@yousong thanks for your feedback, see my changed PR.

@jow-
Copy link
Contributor

jow- commented Apr 23, 2019

@dibdot - can you extend the client side JS validator in cbi.js as well?

@dibdot
Copy link
Contributor Author

dibdot commented Apr 23, 2019

@jow- There's already a generic 'cidr' function in cbi.js or did you mean something different!?

@jow-
Copy link
Contributor

jow- commented Apr 23, 2019

@dibdot - ah nevermind then, sorry. I didn't bother to actually look due to spotty 3g connection.

@jow- jow- merged commit 3c7b3fa into openwrt:master Apr 23, 2019
@dibdot dibdot deleted the shadowsocks-fix branch May 12, 2019 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants