This addresses issue #202
Thanks to f0o for this fix. Bye bye issue #202
👍 looks good here
Worked for me as well on all my different interfaces.
Does this do what I think it does (i.e. sets $ifname with a function, then ignores the result and sets it to something different)?
To me it uses the results of $ifname from the function to grab one value from the array returned. $ifname is then used elsehwhere to set the interface name on the realtime graph.
Right - I missed the right hand side of the dual assignment. I personally think assigning the variable to an array and then reassigning it to a member of that same array is not a clear coding style.
Fix some cases where zoomToShowLayer wouldn't work. Fixes #286 #228 #203