Mercurial > hg > waaad
changeset 330:91bba31a7706
Fix debug message on ASCONF SCTP option
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 19 Mar 2009 17:45:13 +0900 |
parents | c2147bc65f7c |
children | 3841075afdde 436975f6ef4d |
files | waaad/peer-sctp.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/waaad/peer-sctp.c Thu Mar 19 13:30:33 2009 +0900 +++ b/waaad/peer-sctp.c Thu Mar 19 17:45:13 2009 +0900 @@ -373,10 +373,10 @@ TRACE_DEBUG(INFO, "Invalid size of socket option: %d / %d", sz, (socklen_t)sizeof(asconf)); return ENOTSUP; } - TRACE_DEBUG(FULL, "Def SCTP_I_WANT_MAPPED_V4_ADDR value : %s", asconf ? "true" : "false"); + TRACE_DEBUG(FULL, "Def SCTP_AUTO_ASCONF value : %s", asconf ? "true" : "false"); #endif /* DEBUG_SCTP */ - asconf = 1; /* allow automatic use of added or removed addresses in the association */ + asconf = 1; /* allow automatic use of added or removed addresses in the association (for bound-all sockets) */ /* Set the option to the socket */ CHECK_SYS( setsockopt(sk, IPPROTO_SCTP, SCTP_AUTO_ASCONF, &asconf, sizeof(asconf)) );