Mercurial > hg > freeDiameter
diff libfdcore/sctp.c @ 921:a0ab56aa089f
Fix compilation when SCTP_USE_MAPPED_ADDRESSES is true, and add a note about this for FreeBSD (seems to be needed at least for FreeBSD 9.1)
author | Sebastien Decugis <sdecugis@freediameter.net> |
---|---|
date | Thu, 14 Feb 2013 14:12:23 +0100 |
parents | b6b631c268f3 |
children | 5053f1abcf5d 51c15f98a965 |
line wrap: on
line diff
--- a/libfdcore/sctp.c Tue Feb 12 18:42:33 2013 +0100 +++ b/libfdcore/sctp.c Thu Feb 14 14:12:23 2013 +0100 @@ -653,7 +653,7 @@ #ifndef SCTP_USE_MAPPED_ADDRESSES if (ep->sa.sa_family == AF_INET6) #else /* SCTP_USE_MAPPED_ADDRESSES */ - if (target_family == AF_INET6) { + if (target_family == AF_INET6) #endif /* SCTP_USE_MAPPED_ADDRESSES */ sz = sizeof(sSA6); else