Skip to content

Commit 1909e9f

Browse files
committed
network: drop unused members in Wireguard object
1 parent 348784e commit 1909e9f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/network/netdev/wireguard.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,14 @@ struct Wireguard {
4646
NetDev meta;
4747
unsigned last_peer_section;
4848

49-
char interface[IFNAMSIZ];
5049
uint32_t flags;
5150

52-
uint8_t public_key[WG_KEY_LEN];
5351
uint8_t private_key[WG_KEY_LEN];
5452
uint32_t fwmark;
5553

5654
uint16_t port;
5755

5856
LIST_HEAD(WireguardPeer, peers);
59-
size_t allocation_size;
6057

6158
LIST_HEAD(WireguardEndpoint, unresolved_endpoints);
6259
LIST_HEAD(WireguardEndpoint, failed_endpoints);

0 commit comments

Comments
 (0)