mirror of
https://github.com/VitaAetaerna/SubnetExerciseGenerator.git
synced 2025-01-18 08:31:36 +01:00
exit func
This commit is contained in:
parent
a949633876
commit
fccd0ce51d
4
main.py
4
main.py
@ -152,4 +152,6 @@ if __name__ == '__main__':
|
||||
subnet=analyseSubnet(net.get("nid")+listnetwork*2**(32-newprefix), newprefix)
|
||||
print("Network {}: NID: {} BC: {}".format(listnetwork, printDotted(subnet.get("nid")), printDotted(subnet.get("bc"))))
|
||||
print("\nSubnets:")
|
||||
listSubnets(ip, prefix, newprefix)
|
||||
listSubnets(ip, prefix, newprefix)
|
||||
input("\nPress enter to exit\n")
|
||||
|
Loading…
Reference in New Issue
Block a user