diff options
-rwxr-xr-x | etc/rc.initial.setports | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.initial.setports b/etc/rc.initial.setports index 4601631..ce7cd24 100755 --- a/etc/rc.initial.setports +++ b/etc/rc.initial.setports @@ -244,7 +244,7 @@ EOD; $iflist = get_interface_list(); foreach ($iflist_prev as $ifn => $ifa) { - if (!$ifa['up'] && $iflist[$ifn]['up']) { + if (!$ifa[$ifn]['up'] && $iflist[$ifn]['up']) { echo "Detected link-up on interface {$ifn}.\n"; return $ifn; } |