allow logging raw bytes via command line again

This commit is contained in:
john30
2017-04-23 12:08:35 +02:00
parent 43042eec9d
commit e6b6e17db3
3 changed files with 7 additions and 6 deletions
+2 -2
View File
@@ -119,8 +119,8 @@ MainLoop::MainLoop(const struct options opt, Device *device, MessageMap* message
} else {
m_logRawFile = NULL;
}
m_logRawEnabled = opt.logRaw;
m_logRawBytes = false;
m_logRawEnabled = opt.logRaw != 0;
m_logRawBytes = opt.logRaw == 2;
m_logRawLastReceived = true;
m_logRawLastSymbol = SYN;
if (opt.aclFile[0]) {