From 661d82ad75c1a5bca37f225bb7d0f08bbc9be033 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Wed, 7 Mar 2012 14:42:59 +0100 Subject: DNS forwarder validator DNS forwarder's value can consist of IP address and a port. The syntax is ' port '. A new validator was created for this purpose. It is based on IP address validator. https://fedorahosted.org/freeipa/ticket/2490 --- ipalib/plugins/internal.py | 1 + 1 file changed, 1 insertion(+) (limited to 'ipalib/plugins/internal.py') 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"), }, -- cgit