From 76ea97b48f197cbde3470adc60204db6dc55ad89 Mon Sep 17 00:00:00 2001 From: Eugeni Dodonov Date: Wed, 18 Feb 2009 15:37:39 +0000 Subject: Revert "More informative message when trying to configure an address", as it modifies frozen strings. --- lib/network/connection/ethernet.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/network/connection/ethernet.pm b/lib/network/connection/ethernet.pm index d264bd0..e0fef99 100644 --- a/lib/network/connection/ethernet.pm +++ b/lib/network/connection/ethernet.pm @@ -181,7 +181,7 @@ sub check_address_settings { } #- test if IP address is already used if (find { text2bool($_->{ONBOOT}) && $_->{DEVICE} ne $self->get_interface && $_->{IPADDR} eq $self->{address}{ip_address} } values %{$net->{ifcfg}}) { - $self->{address}{error}{message} = N("%s is already used by connection that starts on boot. To use this address with this connection, first disable all other devices which use it, or configure them not to start on boot", $self->{address}{ip_address}); + $self->{address}{error}{message} = N("%s already in use\n", $self->{address}{ip_address}); $self->{address}{error}{field} = \$self->{address}{ip_address}; return 0; } -- cgit v1.2.1