Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Output format improvment for ifconfig(8)



Paul Goyette wrote:

> I'd like to make similar changes to ifconfig(8) for the capabilities, 
> enabled, and flags field.
> 
> ...
> 
> --- ifconfig.out.old  2012-10-31 16:20:21.000000000 -0700
> +++ ifconfig.out.new  2012-10-31 16:20:58.000000000 -0700
> @@ -1,6 +1,10 @@
>   wm0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> -     
> capabilities=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx,UDP4CSUM_Rx,UDP4CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
CSUM_Tx,TCP6CSUM_Rx,TCP6CSUM_Tx,UDP6CSUM_Rx,UDP6CSUM_Tx,TSO6>
> +     capable=7ff80<TSO4,IP4CSUM_Rx,IP4CSUM_Tx,TCP4CSUM_Rx,TCP4CSUM_Tx>

Minor nit - shouldn't that be "capability" instead of "capable"?  The
interface has various capabilities, not various capables.

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index