mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Bugs fix
Fix server_port fields become 0 in SIP008 and ShadowsocksD subscriptions. Fix parsed target not being passed to template argument.
This commit is contained in:
3 files changed
+12
-10
No files matched your search
@@ -1393,6 +1393,8 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
||||
continue;
|
||||
req_arg_map[x.substr(0, pos)] = x.substr(pos + 1);
|
||||
}
|
||||
req_arg_map["target"] = argTarget;
|
||||
req_arg_map["ver"] = std::to_string(intSurgeVer);
|
||||
|
||||
/// save template variables
|
||||
template_args tpl_args;
|
||||
|
||||
Reference in new issue
Block a user