mirror of
https://github.com/VitaAetaerna/SubnetExerciseGenerator.git
synced 2025-09-18 06:04:48 +02:00
exit func
This commit is contained in:
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")
|
||||
|
Reference in New Issue
Block a user