mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-07 00:50:50 +00:00
ipfw: line up ipfw -t list
with and without timestamp
From the PR: When I run `ipfw -t list` on release/12 or current, I get misaligned output between lines that do and do not have a last match timestamp, like so: 00100 Tue Aug 11 03:03:26 2020 allow ip from any to any via lo0 00200 deny ip from any to 127.0.0.0/8 (specifically, the "allow" and "deny" strings do not line up) PR: 248608 Submitted by: Taylor Stearns MFC after: 3 days
This commit is contained in:
parent
e2ec07432d
commit
c1b355d378
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364321
|
@ -2199,7 +2199,7 @@ show_static_rule(struct cmdline_opts *co, struct format_opts *fo,
|
|||
*strchr(timestr, '\n') = '\0';
|
||||
bprintf(bp, "%s ", timestr);
|
||||
} else {
|
||||
bprintf(bp, "%*s", twidth, " ");
|
||||
bprintf(bp, "%*s", twidth + 1, " ");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue