mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
854d7b9fc8
commit
7bf1e98fde
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue