From 1ecbb3313cbac6ad2db09ecca728a835568fcdd8 Mon Sep 17 00:00:00 2001 From: David Crawshaw Date: Tue, 7 Apr 2020 15:49:47 +1000 Subject: wgcfg: rename Key to PublicKey A few minor review cleanups while here (e.g. remove unused LessThan). Signed-off-by: David Crawshaw --- wgcfg/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wgcfg/config.go') diff --git a/wgcfg/config.go b/wgcfg/config.go index 2b5e714..ffb7556 100644 --- a/wgcfg/config.go +++ b/wgcfg/config.go @@ -23,7 +23,7 @@ type Config struct { } type Peer struct { - PublicKey Key + PublicKey PublicKey PresharedKey SymmetricKey AllowedIPs []CIDR Endpoints []Endpoint -- cgit v1.2.3-54-g00ecf