Skip to content

Commit

Permalink
Fix pre-shared key query name for android configuration (netbirdio#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlsmaycon authored Mar 29, 2023
1 parent ab0cf1b commit dfb7960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iface/ipc_parser_android.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func toWgUserspaceString(wgCfg wgtypes.Config) string {

if p.PresharedKey != nil {
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 {
Expand Down

0 comments on commit dfb7960

Please sign in to comment.