1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-13 14:40:22 +00:00

Increment 'sa' at the end of the loop; otherwise, only the first

address ever gets checked.

Approved by: rrs (mentor)
MFC after: 1 month
This commit is contained in:
Rebecca Cran 2010-07-05 03:55:49 +00:00
parent 5d8d4137df
commit 45d35a30bd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209709

View File

@ -304,7 +304,7 @@ sctp_bindx(int sd, struct sockaddr *addrs, int addrcnt, int flags)
goto out_error;
}
sa = (struct sockaddr *)((caddr_t)sa + sz);
}
sa = addrs;
/*