diff options
Diffstat (limited to 'security/ssh2/files')
-rw-r--r-- | security/ssh2/files/patch-al | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/ssh2/files/patch-al b/security/ssh2/files/patch-al index 1da799c26ac5..9339ab05185c 100644 --- a/security/ssh2/files/patch-al +++ b/security/ssh2/files/patch-al @@ -6,7 +6,7 @@ { struct sockaddr_in sin; int p; -+ #if defined(__FreeBSD__) && !defined(SOCKS) ++ #if (defined(__OpenBSD__) || defined(__FreeBSD__)) && !defined(SOCKS) + p = 1023; /* Compat with old FreeBSD */ + sock = rresvport(&p); + if (sock < 0) |