mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Removed 3rd arg from bindresvport_sa() call, because the 3rd arg have been
already removed. Specified by: Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
This commit is contained in:
parent
5d32c97ce9
commit
ae42b66633
1 changed files with 1 additions and 2 deletions
|
|
@ -333,8 +333,7 @@ rresvport_af(alport, family)
|
|||
}
|
||||
#endif
|
||||
*sport = 0;
|
||||
if (bindresvport_sa(s, (struct sockaddr *)&ss,
|
||||
((struct sockaddr *)&ss)->sa_len) == -1) {
|
||||
if (bindresvport_sa(s, (struct sockaddr *)&ss) == -1) {
|
||||
(void)_libc_close(s);
|
||||
return (-1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue