From 1909e9f11d896ce7911055dd70d3b493b832a977 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 7 Nov 2018 18:14:11 +0900 Subject: [PATCH] network: drop unused members in Wireguard object --- src/network/netdev/wireguard.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/network/netdev/wireguard.h b/src/network/netdev/wireguard.h index bd970045195..70690ee2b8d 100644 --- a/src/network/netdev/wireguard.h +++ b/src/network/netdev/wireguard.h @@ -46,17 +46,14 @@ struct Wireguard { NetDev meta; unsigned last_peer_section; - char interface[IFNAMSIZ]; uint32_t flags; - uint8_t public_key[WG_KEY_LEN]; uint8_t private_key[WG_KEY_LEN]; uint32_t fwmark; uint16_t port; LIST_HEAD(WireguardPeer, peers); - size_t allocation_size; LIST_HEAD(WireguardEndpoint, unresolved_endpoints); LIST_HEAD(WireguardEndpoint, failed_endpoints);