Stefan Schuermans commited on 2011-12-22 13:42:02
Showing 1 changed files, with 3 additions and 3 deletions.
| ... | ... |
@@ -259,13 +259,13 @@ void Receiver<ADDR, SOCK>::receiveFromSock() |
| 259 | 259 |
if (!m_pSock->recv(data, addr)) |
| 260 | 260 |
return; |
| 261 | 261 |
|
| 262 |
- // detect packet type and protocol |
|
| 263 |
- BlinkenProtoDetectPacket(data.c_str(), data.size(), &proto, &packet); |
|
| 264 |
- |
|
| 265 | 262 |
// check source address (if configured) |
| 266 | 263 |
if (m_fileSrc.m_valid && addr != m_fileSrc.m_obj) |
| 267 | 264 |
return; // mismatch |
| 268 | 265 |
|
| 266 |
+ // detect packet type and protocol |
|
| 267 |
+ BlinkenProtoDetectPacket(data.c_str(), data.size(), &proto, &packet); |
|
| 268 |
+ |
|
| 269 | 269 |
// check protocol (if configured) |
| 270 | 270 |
if (m_fileProtocol.m_valid && proto != m_fileProtocol.m_obj.m_proto) |
| 271 | 271 |
return; // mismatch |
| 272 | 272 |