Commit 7279d4dc by Bence Dányi

firewall_gui: fix range generation

parent 9b2f6c36
...@@ -146,7 +146,7 @@ var module = angular.module('firewall', []).config( ...@@ -146,7 +146,7 @@ var module = angular.module('firewall', []).config(
function range(a, b) { function range(a, b) {
var res = []; var res = [];
do res.push(a++); do res.push(a++);
while (a < b) while (a <= b)
return res; return res;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment