From 16d6c217a6f11aeef54b8e82e3179bdec3514385 Mon Sep 17 00:00:00 2001 From: janw Date: Fri, 11 Jan 2008 10:32:08 +0000 Subject: [PATCH] Use single interface. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8309 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/modules/ServerPackages.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gosa-si/modules/ServerPackages.pm b/gosa-si/modules/ServerPackages.pm index a6c2a0f80..3782ba740 100644 --- a/gosa-si/modules/ServerPackages.pm +++ b/gosa-si/modules/ServerPackages.pm @@ -55,8 +55,8 @@ my %cfg_defaults = &read_configfile(); # detect interfaces and mac address -@network_interfaces= &get_interface_for_ip($server_ip); -$server_mac_address= &get_mac($network_interfaces[0]); +$network_interface= &get_interface_for_ip($server_ip); +$server_mac_address= &get_mac($network_interface); &main::daemon_log("server ip address detected: $server_ip", 1); &main::daemon_log("server mac address detected: $server_mac_address", 1); -- 2.30.2