mirror of
https://github.com/savoirfairelinux/opendht.git
synced 2026-11-08 04:21:51 +00:00
network engine: fix sendError with non-default netId
This commit is contained in:
1 parent
3e24ea1212
commit
4c7d126782
1 file changed
+1
-1
@@ -1336,7 +1336,7 @@ NetworkEngine::sendError(const SockAddr& addr,
|
||||
{
|
||||
msgpack::sbuffer buffer;
|
||||
msgpack::packer<msgpack::sbuffer> pk(&buffer);
|
||||
pk.pack_map(4 + (include_id?1:0));
|
||||
pk.pack_map(4 + (include_id?1:0) + (config.network?1:0));
|
||||
|
||||
pk.pack(KEY_E); pk.pack_array(2);
|
||||
pk.pack(code);
|
||||
|
||||
Reference in new issue
Block a user