freebsd-src/usr.bin/netstat
Alan Somers 3b6615ec03 netstat: fix a segfault with --libxo
Fix a segfault when printing the "protocol" field.  The field-format and
encoding-format were expecting different numbers of arguments.

Also, fix the width of the tcp-state field in encoded output.

PR:		292228
Fixes:		c2b08c13c2 netstat: add support for UDP-Lite endpoints
MFC after:	1 week
Sponsored by:	ConnectWise
Reviewed by:	tuexen, js, des
Differential Revision: https://reviews.freebsd.org/D54567
2026-01-07 07:35:13 -07:00
..
bpf.c
common.c
common.h
if.c netstat: Fix -ia missing multicast addresses on some interfaces 2025-10-03 14:32:09 +00:00
inet.c netstat: fix a segfault with --libxo 2026-01-07 07:35:13 -07:00
inet6.c
ipsec.c
main.c netstat: add support for UDP-Lite endpoints 2025-10-23 09:15:22 +02:00
Makefile
Makefile.depend
Makefile.depend.options
mbuf.c
mroute.c
mroute6.c
netgraph.c
netisr.c
netstat.1 manpages: prefer linking to xo_options.7 over xo_parse_args.3 2025-07-16 12:02:24 -06:00
netstat.h
nhgrp.c
nhops.c
nlist_symbols
pfkey.c
route.c
route_netlink.c
sctp.c netstat: improve statistic output for sctp 2025-08-26 14:57:20 +02:00
unix.c