summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorhrs <hrs@FreeBSD.org>2015-09-01 08:42:04 +0000
committerhrs <hrs@FreeBSD.org>2015-09-01 08:42:04 +0000
commitdf2a89db2bc25e73b139f02c6fbe0095a4168253 (patch)
tree8a34498005c7be97042e01a5b31617e78b4b4d85 /lib/libc
parenta2c978ffe8e05914319c926f90507446c6fa1368 (diff)
downloadFreeBSD-src-df2a89db2bc25e73b139f02c6fbe0095a4168253.zip
FreeBSD-src-df2a89db2bc25e73b139f02c6fbe0095a4168253.tar.gz
- Add -W flag support for network column in intpr() (-i flag) and
routepr() (-r flag). It is too narrow to show an IPv6 prefix in most cases. - Accept "local" as a synonym of "unix" in protocol family name. - Show a prefix length in CIDR notation when name resolution failed in netname(). - Make routename() and netname() AF-independent and remove unnecessary typecasting from struct sockaddr. - Use getnameinfo(3) to format L2 addr in intpr(). - Fix a bug which showed "Address" when -A flag is specfied in pr_rthdr(). - Replace cryptic GETSA() macro with SA_SIZE(). - Fix declarations shadowing local variables with the same names. - Add more static, remove unused header files and variables. MFC after: 1 week
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud