From fccd0ce51d2498cccd73da37ca321d41c40f079e Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 11 Sep 2023 12:37:59 +0200 Subject: [PATCH] exit func --- main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index e9502c2..0c8dce0 100644 --- a/main.py +++ b/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) \ No newline at end of file + listSubnets(ip, prefix, newprefix) + input("\nPress enter to exit\n") + \ No newline at end of file