From 000ebef185d3fd0591d299b0856381a599247eac Mon Sep 17 00:00:00 2001 From: Logan007 Date: Mon, 17 Aug 2020 22:37:29 +0545 Subject: [PATCH] adopt compression field data type size --- doc/{HACKING => Hacking.md} | 0 include/n2n.h | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename doc/{HACKING => Hacking.md} (100%) diff --git a/doc/HACKING b/doc/Hacking.md similarity index 100% rename from doc/HACKING rename to doc/Hacking.md diff --git a/include/n2n.h b/include/n2n.h index 337616c..121b854 100644 --- a/include/n2n.h +++ b/include/n2n.h @@ -281,7 +281,7 @@ typedef struct n2n_edge_conf { he_context_t *header_encryption_ctx; /**< Header encryption cipher context. */ he_context_t *header_iv_ctx; /**< Header IV ecnryption cipher context, REMOVE as soon as seperte fileds for checksum and replay protection available */ n2n_transform_t transop_id; /**< The transop to use. */ - uint16_t compression; /**< Compress outgoing data packets before encryption */ + uint8_t compression; /**< Compress outgoing data packets before encryption */ uint16_t num_routes; /**< Number of routes in routes */ uint8_t tuntap_ip_mode; /**< Interface IP address allocated mode, eg. DHCP. */ uint8_t allow_routing; /**< Accept packet no to interface address. */