aboutsummaryrefslogtreecommitdiff
path: root/sysutils/rsyslog8/files
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2018-01-10 23:17:07 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2018-01-10 23:17:07 +0000
commit9e5223e45404181933c46c4c5b97f7d301d42b3d (patch)
tree435af2fc0178090dcbb73d35819fc6379a9876f1 /sysutils/rsyslog8/files
parent1b96ec0d0987a120c7e0e0c9e536f63cc878824b (diff)
Notes
Diffstat (limited to 'sysutils/rsyslog8/files')
-rw-r--r--sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c38
1 files changed, 0 insertions, 38 deletions
diff --git a/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c b/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c
deleted file mode 100644
index 4bcb1acaa904..000000000000
--- a/sysutils/rsyslog8/files/patch-runtime_nsd__ptcp.c
+++ /dev/null
@@ -1,38 +0,0 @@
---- runtime/nsd_ptcp.c.orig 2017-04-28 07:04:53 UTC
-+++ runtime/nsd_ptcp.c
-@@ -665,7 +665,11 @@ EnableKeepAlive(nsd_t *pNsd)
- if(pThis->iKeepAliveProbes > 0) {
- optval = pThis->iKeepAliveProbes;
- optlen = sizeof(optval);
-+#if defined(SOL_TCP)
- ret = setsockopt(pThis->sock, SOL_TCP, TCP_KEEPCNT, &optval, optlen);
-+#else
-+ ret = setsockopt(pThis->sock, SOL_SOCKET, TCP_KEEPCNT, &optval, optlen);
-+#endif
- } else {
- ret = 0;
- }
-@@ -680,7 +684,11 @@ EnableKeepAlive(nsd_t *pNsd)
- if(pThis->iKeepAliveTime > 0) {
- optval = pThis->iKeepAliveTime;
- optlen = sizeof(optval);
-+#if defined(SOL_TCP)
- ret = setsockopt(pThis->sock, SOL_TCP, TCP_KEEPIDLE, &optval, optlen);
-+#else
-+ ret = setsockopt(pThis->sock, SOL_SOCKET, TCP_KEEPIDLE, &optval, optlen);
-+#endif
- } else {
- ret = 0;
- }
-@@ -695,7 +703,11 @@ EnableKeepAlive(nsd_t *pNsd)
- if(pThis->iKeepAliveIntvl > 0) {
- optval = pThis->iKeepAliveIntvl;
- optlen = sizeof(optval);
-+#if defined(SOL_TCP)
- ret = setsockopt(pThis->sock, SOL_TCP, TCP_KEEPINTVL, &optval, optlen);
-+#else
-+ ret = setsockopt(pThis->sock, SOL_SOCKET, TCP_KEEPINTVL, &optval, optlen);
-+#endif
- } else {
- ret = 0;
- }