fix debug command

This commit is contained in:
Jack Robison 2018-07-31 17:14:58 -04:00
parent b011360814
commit 73f46abc13
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -14,9 +14,7 @@ def run_command(found, u, command):
reactor.callLater(0, reactor.stop)
return
if command == "debug_device":
external_ip = yield u.get_external_ip()
print(u.get_debug_info())
print("external ip: ", external_ip)
if command == "list_mappings":
redirects = yield u.get_redirects()
print("found {} redirects".format(len(redirects)))