diff options
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c index 9e04299..66b69c7 100644 --- a/src/config.c +++ b/src/config.c @@ -554,6 +554,11 @@ void fastd_config_check(fastd_context_t *ctx, fastd_config_t *conf) { exit_error(ctx, "config error: setting pmtu is not supported on this system"); #endif +#ifndef USE_PACKET_MARK + if (conf->packet_mark) + exit_error(ctx, "config error: setting a packet mark is not supported on this system"); +#endif + if (!conf->method_list) { pr_warn(ctx, "no encryption method configured, falling back to method `null' (unencrypted)"); fastd_config_method(ctx, conf, "null"); |