summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xperl-install/standalone/drakconnect3
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index d87c77b07..fdbf20bff 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -688,8 +688,7 @@ sub update_list() {
sub apply {
my ($netc, $intf) = @_;
-
- network::network::sethostname($netc) if is_dynamic_ip($intf);
+ network::network::sethostname($netc) if is_dynamic_ip({ $intf });
network::network::configureNetwork2($in, '', $netc, {$intf->{DEVICE} => $intf });
}