It's useful information, I like it. (I preferred it with the route
count, but I agree, it's hard on the system if there's a full DFZ
table).

One thing though -

> twister ..in/netstat$ obj/netstat -R 
> Rdomain 0
>   Interfaces: lo0 iwm0 re0 enc0 pflog0
>   Routing tables: 0 6 7 77

When there are multiple tables it's clear that this is a list of
table numbers, but when there's only one the output text is confusing:

Rdomain 0
  Interfaces: lo0 em1 enc0 tun2 vlan1 pflog0
  Routing tables: 0

"there are zero routing tables?"

Rdomain 100
  Interfaces: vether100 lo100 vether101 [...]
  Routing tables: 100

"there are 100 tables?"

This would be clearer if it used table/tables as appropriate e.g.

  Routing table: 0
  Routing table: 100
  Routing tables: 0 6 7 77

the code to handle this gets messy though, maybe someone can think
of alternative wording that gets around this another way..

Reply via email to