luci-app-firewall: missing variable declaration
[project/luci.git] / applications / luci-app-firewall / htdocs / luci-static / resources / view / firewall / forwards.js
index ee8d36e0c619653239210bf76803436e976105f0..151a5338dfc855424c0669823d735e2451d55c5a 100644 (file)
@@ -22,7 +22,7 @@ function rule_proto_txt(s, ctHelpers) {
                };
        });
 
-       m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/);
+       var m = String(uci.get('firewall', s, 'helper') || '').match(/^(!\s*)?(\S+)$/);
        var h = m ? {
                val:  m[0].toUpperCase(),
                inv:  m[1],