summaryrefslogtreecommitdiff
path: root/t/t5515/fetch.br-config-explicit_config-explicit
diff options
context:
space:
mode:
authorLibravatar Erik Faye-Lund <kusmabite@googlemail.com>2010-01-09 15:13:28 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2010-01-09 23:43:49 -0800
commit15515b73716a6ead5a5a348a7d04cc7d73c74bff (patch)
tree0690239ef2fc030846cbe77ea85ae369f370c200 /t/t5515/fetch.br-config-explicit_config-explicit
parenthelp: fix configured help format taking over command line one (diff)
downloadtgif-15515b73716a6ead5a5a348a7d04cc7d73c74bff.tar.xz
daemon: consider only address in kill_some_child()
kill_some_child() compares the entire sockaddr_storage structure (with the pad-bits zeroed out) when trying to find out if connections originate from the same host. However, sockaddr_storage contains the port-number for the connection (which varies between connections), so the comparison always fails. Change the code so we only consider the host-address, by introducing the addrcmp()-function that inspects the address family and compare as appropriate. Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t5515/fetch.br-config-explicit_config-explicit')
0 files changed, 0 insertions, 0 deletions