Skip to content

Commit

Permalink
fix the typo in string
Browse files Browse the repository at this point in the history
  • Loading branch information
MortezaBashsiz committed Nov 6, 2024
1 parent 1cfad8c commit 131eb36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/src/tcpclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ void TCPClient::doRead() {
boost::asio::read(socket_, tempBuff, boost::asio::transfer_exactly(2),
error);
std::string bufStr{hexStreambufToStr(tempBuff)};
if (bufStr == "1034" || bufStr == "1503" || bufStr == "1603" || bufStr == "1703")
if (bufStr == "1403" || bufStr == "1503" || bufStr == "1603" || bufStr == "1703")
isTlsRecord = true;
cancelTimeout();
}
Expand Down
2 changes: 1 addition & 1 deletion nipovpn/etc/nipovpn/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ general:
# This block is to define log directives
log:
# logLevel: "INFO|TRACE|DEBUG"
logLevel: "INFO"
logLevel: "TRACE"
# logFile: "/var/log/nipo/nipo.log"
# Path of log file
logFile: "/var/log/nipovpn/nipovpn.log"
Expand Down

0 comments on commit 131eb36

Please sign in to comment.