summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rc.inet12
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.inet1 b/rc.inet1
index b8be188..a9ae95b 100644
--- a/rc.inet1
+++ b/rc.inet1
@@ -159,7 +159,7 @@ br_open() {
debug_log "/sbin/ip link set dev ${IFNAME[$1]} type bridge $IFOPT"
/sbin/ip link set dev ${IFNAME[$1]} type bridge $IFOPT
fi
- done <<<"${IFOPTS[$i]/%|*([[:blank:]])}|" # The | on the end is required.
+ done <<<"${IFOPTS[$1]/%|*([[:blank:]])}|" # The | on the end is required.
# Don't bring up the interface if it will be brought up later during IP configuration.
# This prevents a situation where SLAAC takes a while to apply if the interface is already up.
if [ -z "${IPADDRS[$1]}" ] && [ -z "${IP6ADDRS[$1]}" ] && [ -z "${IPADDR[$1]}" ] && [ "${USE_DHCP[$1]}" != "yes" ] && [ "${USE_DHCP6[$1]}" != "yes" ] && [ "${USE_SLAAC[$1]}" != "yes" ]; then