Fixed prefix constant scope bug.
This commit is contained in:
parent
676f5a9b7b
commit
e9a862f3f3
|
@ -939,7 +939,7 @@ fluxion_allocate_interface() { # Reserve interfaces
|
||||||
# ------------------------------------------------------------ #
|
# ------------------------------------------------------------ #
|
||||||
fluxion_next_assignable_interface() {
|
fluxion_next_assignable_interface() {
|
||||||
# Find next available interface by checking global.
|
# Find next available interface by checking global.
|
||||||
readonly prefix=$1
|
local -r prefix=$1
|
||||||
local index=0
|
local index=0
|
||||||
while [ "${FluxionInterfaces[$prefix$index]}" ]; do
|
while [ "${FluxionInterfaces[$prefix$index]}" ]; do
|
||||||
let index++
|
let index++
|
||||||
|
|
Loading…
Reference in New Issue