From: Pau Escrich Date: Fri, 10 Jan 2014 16:37:57 +0000 (+0100) Subject: luci-app-bmx6: Initialize tun6in6 variable and add further checks X-Git-Url: http://git.openwrt.org/?p=feed%2Frouting.git;a=commitdiff_plain;h=8ec444256292e50344fbd46efaaa1b5859d88e69 luci-app-bmx6: Initialize tun6in6 variable and add further checks Signed-off-by: Pau Escrich --- diff --git a/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/nodes_j.htm b/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/nodes_j.htm index 730fd29..c9e3c9c 100644 --- a/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/nodes_j.htm +++ b/luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/nodes_j.htm @@ -113,7 +113,8 @@ // Looking for the extensions var hna6 = []; var tun4in6 = []; - var tun6 = []; + var tun6in6 = []; + for( var e = 0; e < extensions.length; e++) { if( extensions[e].HNA6_EXTENSION ) @@ -125,6 +126,7 @@ // Gateways var gateways = '