Skip to content
Snippets Groups Projects
Commit ac5aef0b authored by Tomáš Plesník's avatar Tomáš Plesník
Browse files

zmena chybove hlasky

parent b2ab612d
No related branches found
No related tags found
No related merge requests found
...@@ -119,7 +119,7 @@ switch () { ...@@ -119,7 +119,7 @@ switch () {
# check validity of IP address (CIDR format) # check validity of IP address (CIDR format)
if ($ip_net_client !~ /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(\d|[1-2]\d|3[0-2]))$/) { if ($ip_net_client !~ /^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])(\/(\d|[1-2]\d|3[0-2]))$/) {
WardenCommon::errMsg("Enter correct IP in CIDR format!"); WardenCommon::errMsg("Incorrect CIDR format of IP address: '$ip_net_client'!");
} }
# check client ID # check client ID
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment