Fix another RFC 6458 issue. Spotted by Irene Ruengeler.

MFC after: 3 days
This commit is contained in:
Michael Tuexen 2012-05-03 10:26:33 +00:00
parent 84ac0fb8ca
commit 254945d75a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=234951
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -169,7 +169,7 @@ struct sctp_default_prinfo {
};
struct sctp_authinfo {
uint16_t auth_keyid;
uint16_t auth_keynumber;
};
struct sctp_rcvinfo {