Author: bz
Date: Sat Aug 13 13:49:11 2011
New Revision: 224841
URL: http://svn.freebsd.org/changeset/base/224841
Log:
Fix jls backward compat mode broken in r222465, correctly
displaying addresses in verbose mode (jls -v) again.
Submitted by: jamie
MFC after: 3 days
Approved by: re (kib)
Modified:
head/usr.sbin/jls/jls.c
Modified: head/usr.sbin/jls/jls.c
==============================================================================
--- head/usr.sbin/jls/jls.c Sat Aug 13 13:34:01 2011 (r224840)
+++ head/usr.sbin/jls/jls.c Sat Aug 13 13:49:11 2011 (r224841)
@@ -371,7 +371,7 @@ print_jail(int pflags, int jflags)
*(int *)params[5].jp_value);
n = 6;
#ifdef INET
- if (ip4_ok && !strcmp(params[n].jp_name, "ip.addr")) {
+ if (ip4_ok && !strcmp(params[n].jp_name, "ip4.addr")) {
count = params[n].jp_valuelen / sizeof(struct in_addr);
for (ai = 0; ai < count; ai++)
if (inet_ntop(AF_INET,
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"