From: Florian Eckert Date: Thu, 11 Oct 2018 05:58:28 +0000 (+0200) Subject: luci-app-mwan3: fix typo X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=refs%2Fpull%2F2223%2Fhead;p=oweals%2Fluci.git luci-app-mwan3: fix typo This has worked before because the interface variable is global. But this is not nice. So this commit will fix this. Signed-off-by: Florian Eckert --- diff --git a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua index 13d47e0dc..35385912c 100644 --- a/applications/luci-app-mwan3/luasrc/controller/mwan3.lua +++ b/applications/luci-app-mwan3/luasrc/controller/mwan3.lua @@ -117,7 +117,7 @@ function diagnosticsData(interface, task) end end - function get_gateway(inteface) + function get_gateway(interface) local gateway = nil local dump = nil