phpipam / phpipam

phpipam development repository
https://phpipam.net
2.24k stars 739 forks source link

Adding some netowrk will result only in "/X" #2938

Closed raikoug closed 4 years ago

raikoug commented 4 years ago

Describe the bug Fresh install, I add a newtwork under available network: 192.168.1.0/24 172.16.0.0/24 they both display as "/24" I add 10.100.10.0/24 It displays as "10.100.10.0/24"

Your Environment (please supply the following information):

Steps To Reproduce

  1. Fresh install
  2. Got o Customer subnet
  3. Add 192.168.1.0/24
  4. just "/24" is added

There is no error while doing this.

delete

Same goes for 192.168.1.0/25 for example and will display only "/25"

Thanks

GaryAllan commented 4 years ago

phpIPAM 1.32 is broken on 32bit php7.1.0 and newer due to php language changes.

For php 7.3.11 compatibility you'll need phpIPAM 1.40 or master.