Skip to content

Commit

Permalink
HPCC-31204 Improve MP protocol error message
Browse files Browse the repository at this point in the history
Signed-off-by: Jake Smith <[email protected]>
  • Loading branch information
jakesmith committed Jan 31, 2024
1 parent 6cea89d commit 1891aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/mp/mpcomm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1686,7 +1686,7 @@ class CMPPacketReader: public ISocketSelectNotify, public CInterface
if (hdr.version/0x100 != MP_PROTOCOL_VERSION/0x100) {
// TBD IPV6 here
SocketEndpoint ep;
hdr.sender.get(ep);
sock->getPeerEndpoint(ep);
IMP_Exception *e=new CMPException(MPERR_protocol_version_mismatch,ep);
throw e;
}
Expand Down

0 comments on commit 1891aa6

Please sign in to comment.