diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-11-10 09:15:30 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2021-11-10 09:15:30 +0000 |
commit | 89e120e508b521ceafdbb7c9c48317576170e304 (patch) | |
tree | b4e52489978360197f32f3b6246d7c084311fe22 /gnu | |
parent | 18f6be0ec60cf2231317f3762f1acdbddde1e703 (diff) |
Collaps the AFI specific IP print functions into ip_addr_print() their
only difference was the buffersize and AF argument to inet_ntop.
Use INET6_ADDRSTRLEN as the buffer size and convert the AFI to AF in
a switch statement.
OK denis@ kn@ deraadt@
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions