Text for IPv6 Scope
Bruce M. Simpson
bms at FreeBSD.org
Sat Jan 5 03:33:17 PST 2008
Crist J. Clark wrote:
> Anyone up for adding text to the scopeid field in the ifconfig(8)
> output for IPv6 addresses? Other OSes do. To avoid too much
> disruption to the current format, the text is appended after the
> currently printed hexadecimal field.
>
> Example:
>
> fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
> options=8<VLAN_MTU>
> inet6 fe80::290:27ff:fe13:2540%fxp0 prefixlen 64 scopeid 0x5(site-local)
>
> While we're at it, update the in6.h file to include all scopes
> in RFC4291.
>
> Look OK? Anyone up for applying these?
>
This kind of output might be cooler?
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
options=8<VLAN_MTU>
inet6 fe80::290:27ff:fe13:2540%fxp0 prefixlen 64 scope site
just my 2c
BMS
More information about the freebsd-net
mailing list