diff options
author | Joseph Henry <joseph.henry@gmail.com> | 2015-11-02 16:09:28 -0800 |
---|---|---|
committer | Joseph Henry <joseph.henry@gmail.com> | 2015-11-02 16:09:28 -0800 |
commit | ccbdb1a3a1b5870581f1b560217d88602a65d771 (patch) | |
tree | a2c137f11cd9a5a590ab9afafb1de1dd9dc3f01e /netcon | |
parent | 8d7b2cd4862d79f469b55e8125f3b873da9b0478 (diff) | |
download | infinitytier-ccbdb1a3a1b5870581f1b560217d88602a65d771.tar.gz infinitytier-ccbdb1a3a1b5870581f1b560217d88602a65d771.zip |
RPC command index fix
Diffstat (limited to 'netcon')
-rw-r--r-- | netcon/NetconEthernetTap.cpp | 2 | ||||
-rwxr-xr-x | netcon/libintercept.so.1.0 | bin | 56824 -> 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 Binary files differdeleted file mode 100755 index 701a5b4e..00000000 --- a/netcon/libintercept.so.1.0 +++ /dev/null |