summaryrefslogtreecommitdiff
path: root/src/readcf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readcf.c')
-rw-r--r--src/readcf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/readcf.c b/src/readcf.c
index 681c3d3..04f70f9 100644
--- a/src/readcf.c
+++ b/src/readcf.c
@@ -1431,6 +1431,9 @@ struct optioninfo
{ "FallbackMXhost", 'V', FALSE },
{ "Verbose", 'v', TRUE },
{ "TryNullMXList", 'w', FALSE },
+#ifdef TCPWRAPPERS
+ { "TcpWrappers", 'W', FALSE },
+#endif
{ "QueueLA", 'x', FALSE },
{ "RefuseLA", 'X', FALSE },
{ "RecipientFactor", 'y', FALSE },
@@ -2097,6 +2100,11 @@ setoption(opt, val, safe, sticky, e)
break;
/* 'W' available -- was wizard password */
+#ifdef TCPWRAPPERS
+ case 'W':
+ TcpWrappers = atobool(val);
+ break;
+#endif
case 'x': /* load avg at which to auto-queue msgs */
QueueLA = atoi(val);