1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

Bugfix if multiple interfaces are present

This commit is contained in:
trick77 2017-01-08 13:56:08 +01:00
parent 52d06d906e
commit f599bcfef9

View File

@ -236,7 +236,7 @@ chooseInterface() {
local firstLoop=1
if [[ $(echo "${availableInterfaces}" | wc -l) -eq 1 ]]; then
PIHOLE_INTERFACE=${availableInterfaces}
PIHOLE_INTERFACE="${availableInterfaces}"
return
fi