From: Kirill Isakov Date: Thu, 29 Jul 2021 17:18:32 +0000 (+0600) Subject: Remove unused struct fields. X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=commitdiff_plain;h=76ed9798eed4b5dbd2bc84a248c9ef83eac8c249 Remove unused struct fields. --- diff --git a/src/connection.h b/src/connection.h index 206417b7..bddcee28 100644 --- a/src/connection.h +++ b/src/connection.h @@ -89,9 +89,7 @@ typedef struct connection_t { ecdsa_t *ecdsa; /* his public ECDSA key */ sptps_t sptps; - int inmaclength; int outmaclength; - int incompression; int outcompression; char *hischallenge; /* The challenge we sent to him */ diff --git a/src/node.h b/src/node.h index 1b33789e..fc872d31 100644 --- a/src/node.h +++ b/src/node.h @@ -86,8 +86,6 @@ typedef struct node_t { uint32_t sent_seqno; /* Sequence number last sent to this node */ uint32_t received_seqno; /* Sequence number last received from this node */ uint32_t received; /* Total valid packets received from this node */ - uint32_t prev_received_seqno; - uint32_t prev_received; uint32_t farfuture; /* Packets in a row that have arrived from the far future */ unsigned char *late; /* Bitfield marking late packets */