Commits
Andrea Biscuola authored 04301f6c20c
.......PS. [ZBX-12708] fixed incorrect port validation The bug was caused by the fact that if the if condition succeeded, the port for the discovered host was always set to 0. Fix the problem by pre-initializing the port to 0 and leave the value only if the port validation fail.