update box

This commit is contained in:
arm64v8a
2022-11-24 20:04:44 +09:00
parent fd639c0219
commit 47d896e561
3 changed files with 21 additions and 23 deletions

View File

@@ -44,7 +44,9 @@ namespace NekoRay::fmt {
}
if (!packet_encoding.isEmpty()) {
outbound->insert("packet_encoding", packet_encoding);
auto pkt = packet_encoding;
if (pkt == "packet") pkt = "packetaddr";
outbound->insert("packet_encoding", pkt);
}
}