louisronron / pynetcal

A super-easy IPv4, IPv6 network calculator for your CLI
GNU General Public License v3.0
1 stars 1 forks source link

Bug: FLSM subnetting flag --priority #4

Closed louisronron closed 4 years ago

louisronron commented 4 years ago

Describe the bug When I tried to do FLSM subnetting, and when I parse network address of 192.168.1.0/24 and 130 hosts, 8 subnets, with a priority set to "hosts", it shows a list of 8 subnets. When I further set

To Reproduce Steps to reproduce the behavior:

  1. Go to shell, navigate to source repo and enter "python3.5 main.py subnetter flsm 192.168.1.0/24 1 30 6 --priority=hosts

Expected behavior Should've shown a list of only 1 subnet which is just the main network 192.186.1.0/24

Screenshots N/A

Desktop (please complete the following information):

Additional context N/A

louisronron commented 4 years ago

Fixed successfully in the recent commit.