mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-25 04:08:57 +08:00
Compare commits
2 Commits
33cef0ccc2
...
c0f6b94067
Author | SHA1 | Date | |
---|---|---|---|
|
c0f6b94067 | ||
|
7141759d78 |
@ -437,6 +437,7 @@ void HandshakePacket::assignPeerIP(struct sockaddr_storage *addr) {
|
|||||||
if (addr->ss_family == AF_INET) {
|
if (addr->ss_family == AF_INET) {
|
||||||
struct sockaddr_in *ipv4 = (struct sockaddr_in *)addr;
|
struct sockaddr_in *ipv4 = (struct sockaddr_in *)addr;
|
||||||
// 抓包 奇怪好像是小头端??? [AUTO-TRANSLATED:40eb164c]
|
// 抓包 奇怪好像是小头端??? [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???
|
// Packet capture, weird, seems to be from the client side???
|
||||||
storeUint32LE(peer_ip_addr, ipv4->sin_addr.s_addr);
|
storeUint32LE(peer_ip_addr, ipv4->sin_addr.s_addr);
|
||||||
} else if (addr->ss_family == AF_INET6) {
|
} else if (addr->ss_family == AF_INET6) {
|
||||||
|
Loading…
Reference in New Issue
Block a user