mirror of
https://github.com/opnsense/src.git
synced 2026-02-19 02:30:08 -05:00
Fixed the printing of header for IPv4 routing table without -l option.
Broken in rev 1.44.
This commit is contained in:
parent
c74c29ca6b
commit
3f320c4e60
1 changed files with 1 additions and 1 deletions
|
|
@ -248,7 +248,7 @@ pr_rthdr(af)
|
|||
|
||||
if (Aflag)
|
||||
printf("%-8.8s ","Address");
|
||||
if (lflag)
|
||||
if (af == AF_INET || lflag)
|
||||
printf("%-*.*s %-*.*s %-6.6s %6.6s%8.8s %8.8s %6s\n",
|
||||
WID_DST(af), WID_DST(af), "Destination",
|
||||
WID_GW(af), WID_GW(af), "Gateway",
|
||||
|
|
|
|||
Loading…
Reference in a new issue