diff --git a/src/cdcsprotocol.cpp b/src/cdcsprotocol.cpp index 27a0d79..11b8b87 100644 --- a/src/cdcsprotocol.cpp +++ b/src/cdcsprotocol.cpp @@ -526,10 +526,10 @@ void CDcsProtocol::EncodeDisconnectPacket(CBuffer *Buffer, CClient *Client) Buffer->Set((uint8 *)(const char *)Client->GetCallsign(), CALLSIGN_LEN-1); Buffer->Append((uint8)' '); Buffer->Append((uint8)Client->GetModule()); + Buffer->Append((uint8)' '); Buffer->Append((uint8)0x00); Buffer->Append((uint8 *)(const char *)GetReflectorCallsign(), CALLSIGN_LEN-1); Buffer->Append((uint8)' '); - Buffer->Append((uint8)0x00); } void CDcsProtocol::EncodeDvPacket(const CDvHeaderPacket &Header, const CDvFramePacket &DvFrame, uint32 iSeq, CBuffer *Buffer) const