mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue