diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-03-07 14:42:59 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2012-03-20 17:32:18 +0100 |
commit | 661d82ad75c1a5bca37f225bb7d0f08bbc9be033 (patch) | |
tree | 0ff025927cd5e1d52fce9b70f5722fa6cdbc6d89 /ipalib/plugins/internal.py | |
parent | 1b0ede0776cf292797ef765fcf04a0edc7f1fec2 (diff) | |
download | freeipa-661d82ad75c1a5bca37f225bb7d0f08bbc9be033.tar.gz freeipa-661d82ad75c1a5bca37f225bb7d0f08bbc9be033.tar.xz freeipa-661d82ad75c1a5bca37f225bb7d0f08bbc9be033.zip |
DNS forwarder validator
DNS forwarder's value can consist of IP address and a port.
The syntax is '<IP ADDRESS> port <PORT>'. A new validator was created for this purpose. It is based on IP address validator.
https://fedorahosted.org/freeipa/ticket/2490
Diffstat (limited to 'ipalib/plugins/internal.py')
-rw-r--r-- | ipalib/plugins/internal.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index 541d85cfb..23b52372f 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -591,6 +591,7 @@ class i18n_messages(Command): "max_value": _("Maximum value is ${value}"), "min_value": _("Minimum value is ${value}"), "net_address": _("Not a valid network address"), + "port": _("'${port}' is not a valid port"), "required": _("Required field"), "unsupported": _("Unsupported value"), }, |