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)
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user