Fix free-addr-find regex for ipv6

This commit is contained in:
Sebastian Lohff 2017-04-15 17:01:00 +02:00
parent e6d85236a3
commit b1bed2f4ed
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ function findPrefix(size, step) {
var parentRangeOpt = $('#id_'+ef+'parent_range option:selected'); var parentRangeOpt = $('#id_'+ef+'parent_range option:selected');
if(parentRangeOpt.val()) { if(parentRangeOpt.val()) {
var prefixLen = null; var prefixLen = null;
var m = netInpText.match("([0-9.:]+/)?(\\d+)"); var m = netInpText.match("([0-9a-f.:]+/)?(\\d+)");
console.log(prefixLen) console.log(prefixLen)
console.log(netInpText); console.log(netInpText);
if(m) { if(m) {