diff options
author | Peter Powell <petpow@saberuk.com> | 2019-01-10 19:14:17 +0000 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-01-10 19:14:17 +0000 |
commit | 98e90d6d682c9795ab486d730d636d5c6ec1c817 (patch) | |
tree | 333c9eddd90984957294f0ebd8d8fafbe70799e7 | |
parent | 100c6c419c319663c43796d5d69f738df8d0f583 (diff) |
Fix reading the server path for UNIX sockets.
-rw-r--r-- | src/modules/m_haproxy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_haproxy.cpp b/src/modules/m_haproxy.cpp index c5b7dddd8..f61a39fdd 100644 --- a/src/modules/m_haproxy.cpp +++ b/src/modules/m_haproxy.cpp @@ -256,7 +256,7 @@ class HAProxyHook : public IOHookMiddle case AF_UNIX: memcpy(client.un.sun_path, &recvq[0], 108); - memcpy(client.un.sun_path, &recvq[108], 108); + memcpy(server.un.sun_path, &recvq[108], 108); tlv_index = 216; break; } |