mirror of
https://github.com/netbirdio/netbird.git
synced 2025-07-07 18:06:59 +02:00
Fix pre-shared key query name for android configuration (#773)
This commit is contained in:
@ -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 {
|
||||||
|
Reference in New Issue
Block a user