diff --git a/iface/ipc_parser_android.go b/iface/ipc_parser_android.go index ef757a638..e1dd66856 100644 --- a/iface/ipc_parser_android.go +++ b/iface/ipc_parser_android.go @@ -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 {