mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-09 07:30:56 +00:00
Merge pull request #1116 from pi-hole/fix/multi_interface
Fix/multi interface
This commit is contained in:
commit
a713cf7952
@ -235,8 +235,8 @@ chooseInterface() {
|
|||||||
# Loop sentinel variable
|
# Loop sentinel variable
|
||||||
local firstLoop=1
|
local firstLoop=1
|
||||||
|
|
||||||
if [[ $(echo ${availableInterfaces} | wc -l) -eq 1 ]]; then
|
if [[ $(echo "${availableInterfaces}" | wc -l) -eq 1 ]]; then
|
||||||
PIHOLE_INTERFACE=${availableInterfaces}
|
PIHOLE_INTERFACE="${availableInterfaces}"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user