projects
/
php
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c5ded4
)
Treat NetBSD the same as FreeBSD wrt. TCP_INFO usage.
author
Havard Eidnes
<he@uninett.no>
Thu, 19 Mar 2015 08:39:54 +0000
(09:39 +0100)
committer
Havard Eidnes
<he@uninett.no>
Thu, 19 Mar 2015 08:39:54 +0000
(09:39 +0100)
sapi/fpm/fpm/fpm_sockets.c
patch
|
blob
|
history
diff --git
a/sapi/fpm/fpm/fpm_sockets.c
b/sapi/fpm/fpm/fpm_sockets.c
index b5639fece70e485d4dced7b0687f2fce5c2ffa67..f27bb4afe3c91d2f97f1446ca53d06d46b628d26 100644
(file)
--- a/
sapi/fpm/fpm/fpm_sockets.c
+++ b/
sapi/fpm/fpm/fpm_sockets.c
@@
-420,7
+420,7
@@
int fpm_socket_get_listening_queue(int sock, unsigned *cur_lq, unsigned *max_lq)
zlog(ZLOG_SYSERROR, "failed to retrieve TCP_INFO for socket");
return -1;
}
-#if defined(__FreeBSD__)
+#if defined(__FreeBSD__)
|| defined(__NetBSD__)
if (info.__tcpi_sacked == 0) {
return -1;
}