~arx10/procustodibus-app

838b554a49ae03c4c1e7af6beed275cce4994bdf — Justin Ludwig a month ago 5159822
check up to 1000 ips in generateNextAdress
1 files changed, 1 insertions(+), 1 deletions(-)

M src/utils/ip.js
M src/utils/ip.js => src/utils/ip.js +1 -1
@@ 410,7 410,7 @@ function generateNextAddress(address, mask, unavailable = [], direction) {
  let up = direction !== 'down' ? bi : null
  let down = direction !== 'up' ? bi : null

  for (let i = 0; i < 100; i++) {
  for (let i = 0; i < 1000; i++) {
    if (up) {
      if (up.compareTo(end) < 0) {
        up = up.add(BigInteger.ONE)