Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2009 12:31:29 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-other@freebsd.org
Subject:   svn commit: r196138 - stable/8/usr.sbin/jls
Message-ID:  <200908121231.n7CCVTZc064499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Aug 12 12:31:29 2009
New Revision: 196138
URL: http://svn.freebsd.org/changeset/base/196138

Log:
  MFC r196137:
  
    Do not truncate IPv6 addresses when printing them in the
    jls -av 7.x multi-IP jail backward compat output.
  
    Reported by:  ed
    Tested by:    ed
    Reviewed by:  rwatson
  
  Approved by:  re

Modified:
  stable/8/usr.sbin/jls/   (props changed)
  stable/8/usr.sbin/jls/jls.c

Modified: stable/8/usr.sbin/jls/jls.c
==============================================================================
--- stable/8/usr.sbin/jls/jls.c	Wed Aug 12 12:29:07 2009	(r196137)
+++ stable/8/usr.sbin/jls/jls.c	Wed Aug 12 12:31:29 2009	(r196138)
@@ -359,7 +359,7 @@ print_jail(int pflags, int jflags)
 				    ipbuf, sizeof(ipbuf)) == NULL)
 					err(1, "inet_ntop");
 				else
-					printf("%6s  %-15.15s\n", "", ipbuf);
+					printf("%6s  %s\n", "", ipbuf);
 		}
 	} else if (pflags & PRINT_DEFAULT)
 		printf("%6d  %-15.15s %-29.29s %.74s\n",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908121231.n7CCVTZc064499>