summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 05:27:06 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-03-23 05:27:06 +0100
commit6a529155f1f826ace040dd85c8367132d45bde99 (patch)
tree8bc1c97aee5b731bd6222b8f283c6a3e9eccb7a5 /src/fastd.h
parentb2e576bb172fcce419e639216393126c94fc99fa (diff)
downloadfastd-6a529155f1f826ace040dd85c8367132d45bde99.tar
fastd-6a529155f1f826ace040dd85c8367132d45bde99.zip
config: move packet mark support check to Bison file
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 212d439..b320c74 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -206,7 +206,9 @@ struct fastd_config {
uint16_t mtu; /**< The configured MTU */
fastd_mode_t mode; /**< The configured mode of operation */
+#ifdef USE_PACKET_MARK
uint32_t packet_mark; /**< The configured packet mark (or 0) */
+#endif
bool forward; /**< Specifies if packet forwarding is enable */
bool secure_handshakes; /**< Can be set to false to support connections with fastd versions before v11 */