summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 34d39c2..7c69f71 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -48,9 +48,9 @@
exit;
}
/* do not process nics twice */
- if (in_array($argv[$counter], $processed_nics))
+ if (in_array($argv[$counter] . $argv[$counter+1], $processed_nics))
continue;
- $processed_nics[] = $argv[$counter];
+ $processed_nics[] = $argv[$counter] . $argv[$counter+1];
log_error("Processing {$argv[$counter]} - {$argv[$counter+1]}");
$friendly_interface = convert_real_interface_to_friendly_interface_name($argv[$counter]);
if($config['interfaces'][$friendly_interface]['ipaddr'] <> "dhcp" and
OpenPOWER on IntegriCloud