bug in the number of the used addresses IP
phpipam open-source IP address management
Brought to you by:
myha
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.
Anonymous
Fixed in 1.2