mirror of
https://github.com/Waujito/youtubeUnblock.git
synced 2024-12-22 14:26:11 +00:00
Add definitions guards
This commit is contained in:
parent
3f1e8d3f01
commit
458780d8a2
4
config.h
4
config.h
@ -16,7 +16,9 @@
|
|||||||
#define FRAG_STRAT_IP 1
|
#define FRAG_STRAT_IP 1
|
||||||
#define FRAG_STRAT_NONE 2
|
#define FRAG_STRAT_NONE 2
|
||||||
|
|
||||||
|
#ifndef FRAGMENTATION_STRATEGY
|
||||||
#define FRAGMENTATION_STRATEGY FRAG_STRAT_TCP
|
#define FRAGMENTATION_STRATEGY FRAG_STRAT_TCP
|
||||||
|
#endif
|
||||||
|
|
||||||
#if FRAGMENTATION_STRATEGY == FRAG_STRAT_TCP
|
#if FRAGMENTATION_STRATEGY == FRAG_STRAT_TCP
|
||||||
#define USE_TCP_SEGMENTATION
|
#define USE_TCP_SEGMENTATION
|
||||||
@ -44,7 +46,9 @@
|
|||||||
// Thus, Fake Client Hello will be eliminated automatically.
|
// Thus, Fake Client Hello will be eliminated automatically.
|
||||||
#define FKSN_STRAT_TTL 1
|
#define FKSN_STRAT_TTL 1
|
||||||
|
|
||||||
|
#ifndef FAKE_SNI_STRATEGY
|
||||||
#define FAKE_SNI_STRATEGY FKSN_STRAT_ACK_SEQ
|
#define FAKE_SNI_STRATEGY FKSN_STRAT_ACK_SEQ
|
||||||
|
#endif
|
||||||
|
|
||||||
#if !defined(SILENT) && !defined(KERNEL_SPACE)
|
#if !defined(SILENT) && !defined(KERNEL_SPACE)
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
|
Loading…
Reference in New Issue
Block a user