Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a2d88f1a726fa66aa802294e52e2433607b8f696
https://github.com/tribe29/checkmk/commit/a2d88f1a726fa66aa802294e52e243360…
Author: Sven Panne <sven.panne(a)tribe29.com>
Date: 2021-11-11 (Thu, 11 Nov 2021)
Changed paths:
M active_checks/check_mkevents.cc
Log Message:
-----------
Improved port typing a tiny bit.
We now consistently use uint16_t when a port number is in host byte order
(i.e. a plain old number), and in_port_t only when it is in network byte
order (i.e. never, at least in our own code).
Thanks to ancient APIs, the compiler is not of much help here, both are
eventually typedef'd to the same underlying integer type. At least
readability is improved a bit.
Change-Id: I8259d32a39245f5a526fb9a18caeeb4b07e4718d