Mercurial > hg > freeDiameter
changeset 75:e6bf3e262e49
Added comment about a bug
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Tue, 01 Dec 2009 14:18:05 +0900 |
parents | 9dcb1bd11a07 |
children | 42bd29c4128b |
files | freeDiameter/sctp.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/freeDiameter/sctp.c Tue Dec 01 14:14:34 2009 +0900 +++ b/freeDiameter/sctp.c Tue Dec 01 14:18:05 2009 +0900 @@ -739,6 +739,11 @@ #else /* SCTP_CONNECTX_4_ARGS */ CHECK_SYS_DO( sctp_connectx(*sock, sar.sa, count), { ret = errno; goto fail; } ); #endif /* SCTP_CONNECTX_4_ARGS */ + + /***************** + BUG : received "EINVAL" at reconnection attempt... Should probably filter a little what is in list ! + *****************/ + free(sar.buf); sar.buf = NULL; /* Set the remaining sockopts */