mirror of
https://github.com/netbirdio/netbird.git
synced 2024-11-28 19:13:31 +01:00
Fix pre-shared key query name for android configuration (#773)
This commit is contained in:
parent
ab0cf1b8aa
commit
dfb7960cd4
@ -33,7 +33,7 @@ func toWgUserspaceString(wgCfg wgtypes.Config) string {
|
|||||||
|
|
||||||
if p.PresharedKey != nil {
|
if p.PresharedKey != nil {
|
||||||
preSharedHexKey := hex.EncodeToString(p.PresharedKey[:])
|
preSharedHexKey := hex.EncodeToString(p.PresharedKey[:])
|
||||||
sb.WriteString(fmt.Sprintf("public_key=%s\n", preSharedHexKey))
|
sb.WriteString(fmt.Sprintf("preshared_key=%s\n", preSharedHexKey))
|
||||||
}
|
}
|
||||||
|
|
||||||
if p.Remove {
|
if p.Remove {
|
||||||
|
Loading…
Reference in New Issue
Block a user