aboutsummaryrefslogtreecommitdiff
path: root/source/Target/ThreadPlanPython.cpp
diff options
context:
space:
mode:
authorTai-hwa Liang <avatar@FreeBSD.org>2026-08-20 00:22:15 +0000
committerTai-hwa Liang <avatar@FreeBSD.org>2026-08-29 13:11:41 +0000
commit46f09c4f099b11a997a58207c78bd5f5752cc853 (patch)
tree5e29fc7c5677a5a1c7156d77298a0303e4ef7790 /source/Target/ThreadPlanPython.cpp
parent420428718da769ea72d3f18ed8eba7c3d998b1c8 (diff)
netstat: filtering out unsupported address families
getifaddrs(3) may return AF_INET6 addresses even when netstat(1) is built without INET6 support. Avoid passing these addresses to process_ifa_addr(), which does not handle AF_INET6 in that case. This fixes corrupted column width calculations and runaway output from netstat -i, which could cause periodic daily check output to generate multi-gigabyte mail messages and exhaust disk space and memory. MFC after: 2 weeks
Diffstat (limited to 'source/Target/ThreadPlanPython.cpp')
0 files changed, 0 insertions, 0 deletions