mirror of
https://github.com/sonertari/SSLproxy
synced 2024-10-31 21:20:21 +00:00
parent
37aa3d7ed5
commit
187f5c7893
@ -419,11 +419,11 @@ logpkt_mirror_build(libnet_t *libnet,
|
||||
libnet_ptag_t ptag;
|
||||
|
||||
ptag = libnet_build_tcp(src_addr->sa_family == AF_INET
|
||||
? hton(CSIN(src_addr)->sin_port)
|
||||
: hton(CSIN6(src_addr)->sin6_port),
|
||||
? htons(CSIN(src_addr)->sin_port)
|
||||
: htons(CSIN6(src_addr)->sin6_port),
|
||||
dst_addr->sa_family == AF_INET
|
||||
? hton(CSIN(dst_addr)->sin_port)
|
||||
: hton(CSIN6(dst_addr)->sin6_port),
|
||||
? htons(CSIN(dst_addr)->sin_port)
|
||||
: htons(CSIN6(dst_addr)->sin6_port),
|
||||
seq,
|
||||
ack,
|
||||
flags,
|
||||
|
Loading…
Reference in New Issue
Block a user