From 319f3db5e1f0f799be45064330d9c9504f5b5bcc Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Mon, 27 Mar 2023 09:59:09 -0700 Subject: [PATCH] tools: ip converter remove verbose output --- Tools/convert_ip.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/Tools/convert_ip.py b/Tools/convert_ip.py index 86579d2eb5..390c86ff92 100644 --- a/Tools/convert_ip.py +++ b/Tools/convert_ip.py @@ -39,7 +39,6 @@ if( args.reverse == False ): if(ip & 0x80000000): ip = -0x100000000 + ip - print("the int32 conversion of", args.input, "is") print(ip) else: @@ -49,5 +48,4 @@ else: raise ValueError("Not a valid IP") if(ip < 0): ip = ip + 0x100000000 - print("the decimal dot conversion of", args.input, "is") print('{}.{}.{}.{}'.format(ip>>24, (ip>>16)&0xff, (ip>>8)&0xff, ip&0xff))