Firewall:aliases - incorrect validation message for network type, addresses and hostnames are not allowed, only networks.

This commit is contained in:
Ad Schellevis 2020-12-22 09:43:25 +01:00
parent 2053a24600
commit e686331888

View File

@ -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
);
}