summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--netcon/NetconEthernetTap.cpp2
-rwxr-xr-xnetcon/libintercept.so.1.0bin56824 -> 0 bytes
2 files changed, 1 insertions, 1 deletions
diff --git a/netcon/NetconEthernetTap.cpp b/netcon/NetconEthernetTap.cpp
index b2d09f17..7652eaf9 100644
--- a/netcon/NetconEthernetTap.cpp
+++ b/netcon/NetconEthernetTap.cpp
@@ -576,7 +576,7 @@ void NetconEthernetTap::phyOnUnixData(PhySocket *sock,void **uptr,void *data,uns
struct socket_st socket_rpc;
pid_t pid;
memcpy(&pid, &buf[1], sizeof(pid_t)); // PID for client RPC tracking (only for debug)
- memcpy(&socket_rpc, &buf[64], sizeof(struct socket_st));
+ memcpy(&socket_rpc, &buf[sizeof(pid_t)], sizeof(struct socket_st));
TcpConnection * new_conn;
if(new_conn = handle_socket(sock, uptr, &socket_rpc)) {
pidmap[sock] = pid;
diff --git a/netcon/libintercept.so.1.0 b/netcon/libintercept.so.1.0
deleted file mode 100755
index 701a5b4e..00000000
--- a/netcon/libintercept.so.1.0
+++ /dev/null
Binary files differ