Mercurial > hg > freeDiameter
diff libfdcore/peers.c @ 1238:8f9684264fe0
Change management of the p_reqin_count counter to be updated only on routable messages. This should limit the errors in the counter value resulting from rejected or discarded link-local messages.
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 10 Oct 2013 16:08:46 +0200 |
parents | 043b894b0511 |
children | 603a72c4bf6c |
line wrap: on
line diff
--- a/libfdcore/peers.c Sat Sep 14 12:56:05 2013 +0200 +++ b/libfdcore/peers.c Thu Oct 10 16:08:46 2013 +0200 @@ -549,7 +549,7 @@ fd_hook_call(HOOK_PEER_CONNECT_FAILED, *cer, NULL, "Received CER with invalid Origin-Host AVP", NULL); - CHECK_FCT( fd_out_send(cer, *cnx, NULL) ); + CHECK_FCT( fd_out_send(cer, *cnx, NULL, 0) ); return EINVAL; }