Fix free-addr-find regex for ipv6
This commit is contained in:
parent
e6d85236a3
commit
b1bed2f4ed
|
@ -41,7 +41,7 @@ function findPrefix(size, step) {
|
|||
var parentRangeOpt = $('#id_'+ef+'parent_range option:selected');
|
||||
if(parentRangeOpt.val()) {
|
||||
var prefixLen = null;
|
||||
var m = netInpText.match("([0-9.:]+/)?(\\d+)");
|
||||
var m = netInpText.match("([0-9a-f.:]+/)?(\\d+)");
|
||||
console.log(prefixLen)
|
||||
console.log(netInpText);
|
||||
if(m) {
|
||||
|
|
Loading…
Reference in New Issue