mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
made compression scheme name accessible even if not compiled
This commit is contained in:
parent
07b675bae6
commit
7a06bf39db
|
@ -58,10 +58,8 @@
|
||||||
#define N2N_COMPRESSION_ID_INVALID 0
|
#define N2N_COMPRESSION_ID_INVALID 0
|
||||||
#define N2N_COMPRESSION_ID_NONE 1 /* default, see edge_init_conf_defaults(...) in edge_utils.c */
|
#define N2N_COMPRESSION_ID_NONE 1 /* default, see edge_init_conf_defaults(...) in edge_utils.c */
|
||||||
#define N2N_COMPRESSION_ID_LZO 2 /* set if '-z1' or '-z' cli option is present, see setOption(...) in edge.c */
|
#define N2N_COMPRESSION_ID_LZO 2 /* set if '-z1' or '-z' cli option is present, see setOption(...) in edge.c */
|
||||||
#ifdef N2N_HAVE_ZSTD
|
|
||||||
#define N2N_COMPRESSION_ID_ZSTD 3 /* set if '-z2' cli option is present, available only if compiled with zstd lib */
|
#define N2N_COMPRESSION_ID_ZSTD 3 /* set if '-z2' cli option is present, available only if compiled with zstd lib */
|
||||||
#define ZSTD_COMPRESSION_LEVEL 7 /* 1 (faster) ... 22 (more compression) */
|
#define ZSTD_COMPRESSION_LEVEL 7 /* 1 (faster) ... 22 (more compression) */
|
||||||
#endif
|
|
||||||
|
|
||||||
/* (un)purgeable community indicator (supernode) */
|
/* (un)purgeable community indicator (supernode) */
|
||||||
#define COMMUNITY_UNPURGEABLE 0
|
#define COMMUNITY_UNPURGEABLE 0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user