Commit e6210567 authored by Pavel Vainerman's avatar Pavel Vainerman

(mtr): fix bug for read from 'serial device'

parent 6dcbb92d
...@@ -98,7 +98,7 @@ int main( int argc, char** argv ) ...@@ -98,7 +98,7 @@ int main( int argc, char** argv )
int use485 = 0; int use485 = 0;
int ncycles = -1; int ncycles = -1;
MTR::MTRType mtrtype = MTR::mtUnknown; MTR::MTRType mtrtype = MTR::mtUnknown;
string iaddr("127.0.0.1"); std::string iaddr;
int port = 502; int port = 502;
bool ignoreErrors = false; bool ignoreErrors = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment