]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r205296:
authored <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 24 Mar 2010 12:11:59 +0000 (12:11 +0000)
committered <ed@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 24 Mar 2010 12:11:59 +0000 (12:11 +0000)
commit0a49e4a3cdf10da3cb100afbc2d66105127462ef
treecb3f90353ac1d19f83ff3bb32eba69c3bbbf0135
parentb7d546f57c2c5856ab152aeec59ce455b0401c1d
MFC r205296:

  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.

git-svn-id: svn://svn.freebsd.org/base/stable/8@205585 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/jls/jls.c