From 8ec444256292e50344fbd46efaaa1b5859d88e69 Mon Sep 17 00:00:00 2001 From: Pau Escrich Date: Fri, 10 Jan 2014 17:37:57 +0100 Subject: [PATCH] luci-app-bmx6: Initialize tun6in6 variable and add further checks Signed-off-by: Pau Escrich --- luci-app-bmx6/files/usr/lib/lua/luci/view/bmx6/nodes_j.htm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 = '