summaryrefslogtreecommitdiff
path: root/netcon
diff options
context:
space:
mode:
authorJoseph Henry <joseph.henry@gmail.com>2015-11-02 16:09:28 -0800
committerJoseph Henry <joseph.henry@gmail.com>2015-11-02 16:09:28 -0800
commitccbdb1a3a1b5870581f1b560217d88602a65d771 (patch)
treea2c137f11cd9a5a590ab9afafb1de1dd9dc3f01e /netcon
parent8d7b2cd4862d79f469b55e8125f3b873da9b0478 (diff)
downloadinfinitytier-ccbdb1a3a1b5870581f1b560217d88602a65d771.tar.gz
infinitytier-ccbdb1a3a1b5870581f1b560217d88602a65d771.zip
RPC command index fix
Diffstat (limited to 'netcon')
-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