Log peer address when git-daemon called from inetd
commit5b276ee4fb01a5c3cf4970df69d319a3c93c81c9
authorDavid Woodhouse <dwmw2@infradead.org>
Tue, 20 Jun 2006 14:38:13 +0000 (20 15:38 +0100)
committerJunio C Hamano <junkio@cox.net>
Wed, 21 Jun 2006 05:19:29 +0000 (20 22:19 -0700)
tree656fc40eb5ef3cafcd76783b6f3777bac8f51c04
parentc07eee1f2ab9e9b168e050c0ef0b48d039c71470
Log peer address when git-daemon called from inetd

When we run git-daemon from inetd, even with the --verbose option, it
doesn't log the peer address. That logic was only in the standalone
daemon code -- move it to the execute() function instead. Tested with
both IPv6 and Legacy IP clients, in both inetd and daemon mode.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Acked-by: Jon Loeliger <jdl@jdl.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
daemon.c