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');
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue