current commit
260531.5 · net: coerce -0 to +0 in BlockList prefixes
'use strict';

require('../common');

const net = require('net');

{
  const blockList = new net.BlockList();
  blockList.addSubnet('0.0.0.0', -0);
}

{
  const blockList = new net.BlockList();
  blockList.addSubnet('::', -0, 'ipv6');
}