Menu ▾ ▴

#291 bug in the number of the used addresses IP

1.0
closed
None
1
2016-02-02
2015-03-05
No

Hi,
I have a problem, the number of the used addresses IP is equals to the sum of addresses IP in database.

example:

subnet 1 : 2 used addresses
subnet 2 : 24 used addresses
subnet 3 : 1445 used addresses
subnet 4 : 531 used addresses but its show 2002 (the sum of 2+24+1445+531)

To solve this problem, I add a patch https://sourceforge.net/p/phpipam/patches/5/ in functions-network.php and it works, but it generate a warning:

Warning: array_unique() expects parameter 1 to be array
Warning: Invalid argument supplied for foreach()

thanks for help.

1 Attachments

Discussion

  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02
    • status: open --> closed
     
  • Miha Petkovsek

    Miha Petkovsek - 2016-02-02

    Fixed in 1.2

     

Anonymous
Anonymous

Add attachments
Cancel