r4466 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Fri Jan 15 16:11:08 CET 2010


Author: phk
Date: 2010-01-15 16:11:07 +0100 (Fri, 15 Jan 2010)
New Revision: 4466

Modified:
   trunk/varnish-cache/bin/varnishd/mgt_cli.c
Log:
Report correct remote address for telnet CLI connections



Modified: trunk/varnish-cache/bin/varnishd/mgt_cli.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_cli.c	2010-01-15 13:46:46 UTC (rev 4465)
+++ trunk/varnish-cache/bin/varnishd/mgt_cli.c	2010-01-15 15:11:07 UTC (rev 4466)
@@ -598,7 +598,7 @@
 		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);



More information about the varnish-commit mailing list