1
0
mirror of https://github.com/nttgin/BGPalerter.git synced 2024-05-19 06:50:08 +00:00

fixed alert grouping

This commit is contained in:
Massimo Candela
2019-06-28 03:46:48 +02:00
parent bd3dfaeb53
commit 811a0a233a
13 changed files with 7863 additions and 7836 deletions

10
ipUtils.js Normal file
View File

@@ -0,0 +1,10 @@
module.exports = {
sortByPrefixLength : function (a, b) {
const netA = a.split("/")[1];
const netB = b.split("/")[1];
return netA - netB;
}
};