summaryrefslogtreecommitdiffstats
path: root/src/network/netdev
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-11-07 10:14:11 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-11-07 10:14:11 +0100
commit1909e9f11d896ce7911055dd70d3b493b832a977 (patch)
treeeb9e899b8ad3f01ac403efbb1ce288ce9a1cce22 /src/network/netdev
parentfuzz: add testcases for oss-fuzz#11279 and #11280 (diff)
downloadsystemd-1909e9f11d896ce7911055dd70d3b493b832a977.tar.xz
systemd-1909e9f11d896ce7911055dd70d3b493b832a977.zip
network: drop unused members in Wireguard object
Diffstat (limited to 'src/network/netdev')
-rw-r--r--src/network/netdev/wireguard.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/network/netdev/wireguard.h b/src/network/netdev/wireguard.h
index bd97004519..70690ee2b8 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);