Skip to content
Snippets Groups Projects
Commit bfdb0741f9f2 authored by Jun Wu's avatar Jun Wu
Browse files

dummyssh: use LOCALIP

This patch replaces hard-coded 127.0.0.1 with $LOCALIP in dummyssh.
parent d4916aebf3d0
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
if sys.argv[1] != "user@dummy":
sys.exit(-1)
os.environ["SSH_CLIENT"] = "127.0.0.1 1 2"
os.environ["SSH_CLIENT"] = "%s 1 2" % os.environ.get('LOCALIP', '127.0.0.1')
log = open("dummylog", "ab")
log.write("Got arguments")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment