From 9dca929b5f27a65c762ff3408a7a4c3d96a0bf4c Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Sun, 7 Mar 2021 22:44:05 +0000 Subject: Fix a typo in br_open when configuring IFOPTS: i->1. --- rc.inet1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3