Compare commits

...

2 Commits

Author SHA1 Message Date
alex
9879f2414a
Merge 7141759d78 into cc590254a6 2024-10-30 15:48:51 +08:00
alex
7141759d78 Translate comments in srt/Packet.cpp 2024-09-28 10:11:54 +08:00

View File

@ -437,6 +437,7 @@ void HandshakePacket::assignPeerIP(struct sockaddr_storage *addr) {
if (addr->ss_family == AF_INET) {
struct sockaddr_in *ipv4 = (struct sockaddr_in *)addr;
// 抓包 奇怪好像是小头端??? [AUTO-TRANSLATED:40eb164c]
// Packet capture, weird, seems to be from the client side [AUTO-TRANSLATED:6109d8a0]
// Packet capture, weird, seems to be from the client side
storeUint32LE(peer_ip_addr, ipv4->sin_addr.s_addr);
} else if (addr->ss_family == AF_INET6) {