luci-app-mwan3: fix typo 2223/head
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 11 Oct 2018 05:58:28 +0000 (07:58 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 12 Oct 2018 06:45:42 +0000 (08:45 +0200)
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 <fe@dev.tdt.de>
applications/luci-app-mwan3/luasrc/controller/mwan3.lua

index 13d47e0dc8833130b2c6610ef0418ab98a6a8663..35385912ceecfbe027c45f1dca42156ac2cc4693 100644 (file)
@@ -117,7 +117,7 @@ function diagnosticsData(interface, task)
                end
        end
 
-       function get_gateway(inteface)
+       function get_gateway(interface)
                local gateway = nil
                local dump = nil