From 458780d8a265deee44075bf7999311efaed23ba2 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Mon, 5 Aug 2024 23:37:45 +0300 Subject: [PATCH] Add definitions guards --- config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config.h b/config.h index 9e75e2b..ce0948e 100644 --- a/config.h +++ b/config.h @@ -16,7 +16,9 @@ #define FRAG_STRAT_IP 1 #define FRAG_STRAT_NONE 2 +#ifndef FRAGMENTATION_STRATEGY #define FRAGMENTATION_STRATEGY FRAG_STRAT_TCP +#endif #if FRAGMENTATION_STRATEGY == FRAG_STRAT_TCP #define USE_TCP_SEGMENTATION @@ -44,7 +46,9 @@ // Thus, Fake Client Hello will be eliminated automatically. #define FKSN_STRAT_TTL 1 +#ifndef FAKE_SNI_STRATEGY #define FAKE_SNI_STRATEGY FKSN_STRAT_ACK_SEQ +#endif #if !defined(SILENT) && !defined(KERNEL_SPACE) #define DEBUG