diff options
author | ed <ed@FreeBSD.org> | 2010-03-18 20:13:04 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2010-03-18 20:13:04 +0000 |
commit | 128d8862760f60ace9ff3521f9731b0205b90bb4 (patch) | |
tree | ab60603d26e423ebae3b83db725d6f2293f1de22 /usr.sbin/keyserv | |
parent | d645bf55b32e90960b5ca1f5177df2639a11c530 (diff) | |
download | FreeBSD-src-128d8862760f60ace9ff3521f9731b0205b90bb4.zip FreeBSD-src-128d8862760f60ace9ff3521f9731b0205b90bb4.tar.gz |
Properly progress through the list of IPv6 addresses using in6_addr size.
Right now if a jail has multiple IPv6 addresses, it will print them
shifting only 4 bytes at a time. Example:
2001:4dd0:ff41::b23f:a9
2001:4dd0:ff41::b23f:aa
Becomes:
2001:4dd0:ff41::b23f:a9
ff41::b23f:a9:2001:4dd0
By casting to in6_addr, it uses the correct offsets.
MFC after: 1 week
Diffstat (limited to 'usr.sbin/keyserv')
0 files changed, 0 insertions, 0 deletions