X-Git-Url: https://tinc-vpn.org/git/browse?a=blobdiff_plain;f=src%2Fnet_setup.c;h=455f66c68d78ee55ddded5e5d9f1b59b3a9aedba;hb=22ae0c3549628739ca7c40e48ce1a276469ded92;hp=17675aec40ace0b3f8d775875c54321961206e55;hpb=92d66492e0824674f68d26e787dd1ba4444a4601;p=tinc diff --git a/src/net_setup.c b/src/net_setup.c index 17675aec..455f66c6 100644 --- a/src/net_setup.c +++ b/src/net_setup.c @@ -949,6 +949,16 @@ static bool setup_myself(void) { } } + get_config_int(lookup_config(config_tree, "FWMark"), &fwmark); +#ifndef SO_MARK + + if(fwmark) { + logger(DEBUG_ALWAYS, LOG_ERR, "FWMark not supported on this platform!"); + return false; + } + +#endif + int replaywin_int; if(get_config_int(lookup_config(config_tree, "ReplayWindow"), &replaywin_int)) {