Skip to content

Commit 5143d7e

Browse files
authored
Merge branch 'main' into iss58
2 parents a1c515a + 42a590c commit 5143d7e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/peer/peer_config.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,10 +276,11 @@ func (p *PeerConfig) AsFile() string {
276276
}
277277

278278
s.WriteString(fmt.Sprintf("PublicKey = %s\n", p.config.PublicKey.String()))
279-
279+
280280
if p.config.PresharedKey != nil {
281281
s.WriteString(fmt.Sprintf("PresharedKey = %s\n", p.config.PresharedKey.String()))
282282
}
283+
283284
ips := []string{}
284285
for _, a := range p.config.AllowedIPs {
285286
ips = append(ips, a.String())

0 commit comments

Comments
 (0)