mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
Firewall:aliases - incorrect validation message for network type, addresses and hostnames are not allowed, only networks.
This commit is contained in:
parent
2053a24600
commit
e686331888
@ -210,7 +210,7 @@ class AliasContentField extends BaseField
|
||||
!($ipaddr_count == 2 && $domain_alias_count == 0)
|
||||
) {
|
||||
$messages[] = sprintf(
|
||||
gettext('Entry "%s" is not a valid hostname or IP address.'),
|
||||
gettext('Entry "%s" is not a network.'),
|
||||
$network
|
||||
);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user