svn commit: r196138 - stable/8/usr.sbin/jls

Bjoern A. Zeeb bz at FreeBSD.org
Wed Aug 12 12:31:31 UTC 2009


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",


More information about the svn-src-all mailing list