summaryrefslogtreecommitdiffstats
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorStuart Henderson <stu@spacehopper.org>2017-01-27 12:56:11 (GMT)
committerRincewindsHat <12514511+RincewindsHat@users.noreply.github.com>2023-10-06 09:15:35 (GMT)
commitc2f20fdd94feb06e815a891b22f25fac10c2cc13 (patch)
treeaf4674cd3b4c85c93867aec12c00389d1979e245 /plugins/check_load.c
parentbe0e475339346907c86de5d797f0fab1e071f75c (diff)
downloadmonitoring-plugins-c2f20fdd94feb06e815a891b22f25fac10c2cc13.tar.gz
use pack_sockaddr_in rather than hand-rolledrefs/pull/1932/head
On some OS, sockaddr structs include a length field. Perl's pack_sockaddr_in takes this into account; the hand-rolled "pack('S n a4 x8'..." doesn't do so, resulting in connection failures.
Diffstat (limited to 'plugins/check_load.c')
0 files changed, 0 insertions, 0 deletions