aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--options.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options.c b/options.c
index acbb036..183c21a 100644
--- a/options.c
+++ b/options.c
@@ -4468,6 +4468,11 @@ add_option (struct options *options,
{
options->sockflags |= SF_HOST_RANDOMIZE;
}
+ else if (streq (p[1], "GENERIC_CONFIG"))
+ {
+ msg (msglevel, "this is a generic configuration and cannot directly be used");
+ goto err;
+ }
#if P2MP
else if (streq (p[1], "SERVER_POLL_TIMEOUT") && p[2])
{