summaryrefslogtreecommitdiffstats
path: root/src/config.y
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.y')
-rw-r--r--src/config.y5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/config.y b/src/config.y
index fb2ceee..a11460f 100644
--- a/src/config.y
+++ b/src/config.y
@@ -362,7 +362,12 @@ bind_default:
;
packet_mark: TOK_UINT {
+#ifdef USE_PACKET_MARK
conf.packet_mark = $1;
+#else
+ fastd_config_error(&@$, state, "setting a packet mark is not supported on this system");
+ YYERROR;
+#endif
}
mtu: TOK_UINT {