diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-12 12:55:44 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-12 12:55:44 +0000 |
commit | 8cdbcbe027b2c10254141f4c9460e6c6629b16c8 (patch) | |
tree | 3effde33272298db8fca44e8a1e2905bef93b6a8 | |
parent | ca397438d3a301b06ff4f9924d4a9c9b96ccf4e5 (diff) | |
download | drakx-backup-do-not-use-8cdbcbe027b2c10254141f4c9460e6c6629b16c8.tar drakx-backup-do-not-use-8cdbcbe027b2c10254141f4c9460e6c6629b16c8.tar.gz drakx-backup-do-not-use-8cdbcbe027b2c10254141f4c9460e6c6629b16c8.tar.bz2 drakx-backup-do-not-use-8cdbcbe027b2c10254141f4c9460e6c6629b16c8.tar.xz drakx-backup-do-not-use-8cdbcbe027b2c10254141f4c9460e6c6629b16c8.zip |
(apply) fix crash (is_dynamic_ip expect a hash of network interaces,
not a single interface)
-rwxr-xr-x | perl-install/standalone/drakconnect | 3 |
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 }); } |