Fis the value of *optlen when calling getsockopt() for
SCTP_REMOTE_UDP_ENCAPS_PORT. This issue was reported by Andrew Galante. MFC after: 3 days
This commit is contained in:
parent
d5814e82fa
commit
92dfa76cbc
@ -3281,7 +3281,7 @@ flags_out:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (error == 0) {
|
if (error == 0) {
|
||||||
*optsize = sizeof(struct sctp_paddrparams);
|
*optsize = sizeof(struct sctp_udpencaps);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user