Date: Thu, 18 Mar 2010 20:13:04 +0000 (UTC) From: Ed Schouten <ed@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/usr.sbin/jls jls.c Message-ID: <201003182013.o2IKDFWV069598@repoman.freebsd.org>
index | next in thread | raw e-mail
ed 2010-03-18 20:13:04 UTC
FreeBSD src repository
Modified files:
usr.sbin/jls jls.c
Log:
SVN rev 205296 on 2010-03-18 20:13:04Z by ed
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
Revision Changes Path
1.16 +1 -1 src/usr.sbin/jls/jls.c
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003182013.o2IKDFWV069598>
