diff --git a/core/lease-parser.js b/core/lease-parser.js index e6aee90..c81c32b 100644 --- a/core/lease-parser.js +++ b/core/lease-parser.js @@ -11,6 +11,17 @@ module.exports = { lines = lease_data[i].split("\n"); for (l = 0; l < lines.length; l++) { + if (typeof lines[5] !== "undefined") { + if ( + lines[5].trim() === "binding state backup;" || + lines[5].trim() === "binding state expired;" || + lines[5].trim() === "binding state free;" + ) { + continue; + } + } + + /** * Trim whitespaces at each ends of the line */