From dd2b29dfe69ed4d52cd03e18b1388f074ada7d58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sch=C3=BCtz?= Date: Wed, 11 Jan 2017 07:13:26 +0100 Subject: [PATCH] Issue #9 fix --- kickthemout.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kickthemout.py b/kickthemout.py index 2304f96..9e0f76d 100644 --- a/kickthemout.py +++ b/kickthemout.py @@ -236,10 +236,10 @@ def getGatewayIP(): getGateway_p = sr1(IP(dst="google.com", ttl=0) / ICMP() / "XXXXXXXXXXX", verbose=False) return getGateway_p.src except: - print("\n{0}ERROR: Gateway IP could not be obtained. Please enter IP manually.{2}\n").format(RED, END) - header = ('{0}kickthemout{1}> {2}Enter Gateway IP {3}(e.g. 192.168.1.1): '.format(BLUE, WHITE, RED, END)) - gatewayIP = raw_input(header) - return gatewayIP + print("\n{0}ERROR: Gateway IP could not be obtained. Please enter IP manually.{2}\n").format(RED, END) + header = ('{0}kickthemout{1}> {2}Enter Gateway IP {3}(e.g. 192.168.1.1): '.format(BLUE, WHITE, RED, END)) + gatewayIP = raw_input(header) + return gatewayIP def resolveMac(mac): try: