phpipam icon indicating copy to clipboard operation
phpipam copied to clipboard

Defaulting to overlapped subnet

Open HNJBB opened this issue 4 years ago • 0 comments

Describe the bug When selecting an even number IP address. The default is an invalid /31 address. Selecting an odd number IP address the default is a /32 as expected.

phpIPAM version Bug fixes are supported in the latest production and development releases. Please update to a supported release before reporting issues. Please search for existing Issues (including closed Issues) before submitting duplicates.

Versions of phpIPAM known to contain the issue (delete as appropriate).

  • Latest git master development branch.

Your Environment (please supply the following information):

  • phpIPAM version: master
  • OS: Ubuntu 20.04 64 Bit
  • PHP version : 7/4/3
  • Webserver : NGINX
  • Database : MariaDB 10.3.34

Steps To Reproduce Please include steps to reproduce the issue:

  1. Go to 'Desired Subnet'
  2. Click on 'Add Icon on Free Space Row'
  3. See error

Screenshots and error logs Overview Even_Incorrect Odd_Correct

HNJBB avatar Jun 20 '22 13:06 HNJBB