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:
parent
5d8d4137df
commit
45d35a30bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209709
@ -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;
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user