mirror of
https://github.com/jambonz/jambonz-webapp.git
synced 2026-10-29 06:44:25 +00:00
support admin settings for private network cidr
This commit is contained in:
1 parent
bbac2c9416
commit
1c1ea9ed61
1 file changed
+1
-1
@@ -49,7 +49,7 @@ export const AdminSettings = () => {
|
||||
const cidrs = privateNetworkCidr.split(",");
|
||||
for (const cidr of cidrs) {
|
||||
if (!isvalidIpv4OrCidr(cidr)) {
|
||||
toastError(`Invalid private Network CIDR for "${cidr}"`);
|
||||
toastError(`Invalid Private Network CIDR for "${cidr}"`);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user