Commit dabbcb4f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Report correct remote address for telnet CLI connections



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@4466 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 72494d82
......@@ -598,7 +598,7 @@ telnet_accept(const struct vev *ev, int what)
return (0);
tn = telnet_new(i);
vsb = sock_id("telnet", ev->fd);
vsb = sock_id("telnet", i);
mgt_cli_setup(i, i, 0, vsb_data(vsb), telnet_close, tn);
vsb_delete(vsb);
return (0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment