The unified diff between revisions [cdb765b8..] and [78dc1768..] is displayed below. It can also be downloaded as a raw diff.
#
#
# patch "src/pconn.c"
# from [aafee33cdbe7bfd01350db01da32582fcbd3c869]
# to [5f83c46e535d572c2a6d6f55389e635926c3feee]
#
============================================================
--- src/pconn.c aafee33cdbe7bfd01350db01da32582fcbd3c869
+++ src/pconn.c 5f83c46e535d572c2a6d6f55389e635926c3feee
@@ -62,7 +62,7 @@ pconnKey(char *buf, const char *peer, u_
static inline const int
pconnKey(char *buf, const char *peer, u_short port, struct in_addr *client_address, u_short client_port)
{
- if ( local == NULL ) {
+ if ( client_address == NULL ) {
return snprintf(buf, PCONN_KEYLEN, "%s.%d", peer, (int) port);
}else{
return snprintf(buf, PCONN_KEYLEN, "%s.%d.%s.%d",