mirror of
https://github.com/gchq/CyberChef.git
synced 2025-05-09 07:45:00 -04:00
Debugging
This commit is contained in:
parent
74e2e7e924
commit
c9504ac675
1 changed files with 1 additions and 0 deletions
|
@ -117,6 +117,7 @@ class Sort extends Operation {
|
||||||
static _ipv6Sort(a, b) {
|
static _ipv6Sort(a, b) {
|
||||||
const ipLib = require("../lib/IP.mjs");
|
const ipLib = require("../lib/IP.mjs");
|
||||||
const numericalA = ipLib.strToIpv6(a, false), numericalB = ipLib.strToIpv6(b, false);
|
const numericalA = ipLib.strToIpv6(a, false), numericalB = ipLib.strToIpv6(b, false);
|
||||||
|
console.log(numericalA + " : " + numericalB);
|
||||||
return numericalA - numericalB;
|
return numericalA - numericalB;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue