diff options
Diffstat (limited to 'src/modules/m_haproxy.cpp')
| -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 3bb78ef7a..03c2a4745 100644 --- a/src/modules/m_haproxy.cpp +++ b/src/modules/m_haproxy.cpp @@ -272,7 +272,7 @@ class HAProxyHook : public IOHookMiddle break; } - if (!sock->OnSetEndPoint(server, client)) + if (!sock->OnSetLocalEndPoint(server) || !sock->OnSetRemoteEndPoint(client)) return -1; // Parse any available TLVs. |
