Fix another RFC 6458 issue. Spotted by Irene Ruengeler.
MFC after: 3 days
This commit is contained in:
parent
84ac0fb8ca
commit
254945d75a
@ -3430,7 +3430,7 @@ sctp_find_cmsg(int c_type, void *data, struct mbuf *control, size_t cpsize)
|
||||
}
|
||||
m_copydata(control, at + CMSG_ALIGN(sizeof(struct cmsghdr)), sizeof(struct sctp_authinfo), (caddr_t)&authinfo);
|
||||
sndrcvinfo->sinfo_keynumber_valid = 1;
|
||||
sndrcvinfo->sinfo_keynumber = authinfo.auth_keyid;
|
||||
sndrcvinfo->sinfo_keynumber = authinfo.auth_keynumber;
|
||||
break;
|
||||
default:
|
||||
return (found);
|
||||
|
@ -169,7 +169,7 @@ struct sctp_default_prinfo {
|
||||
};
|
||||
|
||||
struct sctp_authinfo {
|
||||
uint16_t auth_keyid;
|
||||
uint16_t auth_keynumber;
|
||||
};
|
||||
|
||||
struct sctp_rcvinfo {
|
||||
|
Loading…
Reference in New Issue
Block a user