summaryrefslogtreecommitdiff
path: root/src/dlt-qnx-system/dlt-qnx-slogger2-adapter.cpp
diff options
context:
space:
mode:
authorrvalovyi <49940758+rvalovyi@users.noreply.github.com>2021-11-03 01:22:21 +0200
committerGitHub <noreply@github.com>2021-11-03 08:22:21 +0900
commit9fba07b326eb90e1864848b2c8244f6203f4209a (patch)
tree3c416bcc65d3b9c93592f1f2e9893be58f535f6d /src/dlt-qnx-system/dlt-qnx-slogger2-adapter.cpp
parent1f51eab36c363041bc18ed194500e8dae9a8aeed (diff)
downloadDLT-daemon-9fba07b326eb90e1864848b2c8244f6203f4209a.tar.gz
daemon: Do not exit when accept returns ECONNABORTED (#347)
Scan of port 3490 from a Linux machine by 'nmap -v -p 3490 -Pn IP_address_of_QNX_board' leads to dlt-daemon crash. It is necessary to parse the code of the returned error in errno. If errno = ECONNABORTED it means there was an attempt to scan port 3490 and on this error there is no need to exit the application by error. Fix for the issue https://github.com/GENIVI/dlt-daemon/issues/341 Signed-off-by: Ruslan Valovyi <ruslan.valovyi@volvocars.com>
Diffstat (limited to 'src/dlt-qnx-system/dlt-qnx-slogger2-adapter.cpp')
0 files changed, 0 insertions, 0 deletions