[master] 4515025 use NOT_IMPLEMENTED flag also for accept_filter and tcp_fastopen
Nils Goroll
nils.goroll at uplex.de
Tue Nov 29 14:14:05 CET 2016
commit 45150250405bc33336976afa5516bd1e56beb69d
Author: Nils Goroll <nils.goroll at uplex.de>
Date: Tue Nov 29 08:56:19 2016 +0100
use NOT_IMPLEMENTED flag also for accept_filter and tcp_fastopen
diff --git a/include/tbl/params.h b/include/tbl/params.h
index 50a754a..1cdecbb 100644
--- a/include/tbl/params.h
+++ b/include/tbl/params.h
@@ -37,9 +37,13 @@ PARAM(
/* max */ NULL,
/* default */ "on",
/* units */ "bool",
+#if defined(HAVE_ACCEPT_FILTERS)
/* flags */ MUST_RESTART,
+#else
+ /* flags */ NOT_IMPLEMENTED,
+#endif
/* s-text */
- "Enable kernel accept-filters (if available in the kernel).",
+ "Enable kernel accept-filters.",
/* l-text */ NULL,
/* func */ NULL
)
@@ -1000,9 +1004,13 @@ PARAM(
/* max */ NULL,
/* default */ "off",
/* units */ "bool",
+#if defined(HAVE_TCP_FASTOPEN)
/* flags */ MUST_RESTART,
+#else
+ /* flags */ NOT_IMPLEMENTED,
+#endif
/* s-text */
- "Enable TCP Fast Open extension (if available in the kernel).",
+ "Enable TCP Fast Open extension.",
/* l-text */ NULL,
/* func */ NULL
)
More information about the varnish-commit
mailing list