> On 2016/03/29 16:57, Peter Hessler wrote: > > On 2016 Mar 29 (Tue) at 14:36:04 +0000 (+0000), Christian Weisgerber wrote: > > :On 2016-03-28, Theo de Raadt <[email protected]> wrote: > > : > > :>> Providing the 'media' parameter to ifconfig only shows ipv4 > > :>> addresses and not ipv6. > > :> > > :> This decision was made almost 15+ years and still stands today. > > :> > > :> If you want to see v6 addresses, use -a. > > :> > > :> Most people who use ifconfig are in a v4 world, and don't want their > > :> screen to scroll. > > : > > :Wait, but interfaces don't get v6 addresses by default any longer. > > :If you are in a v4-only world, your interfaces don't have any v6 > > :addresses. The old reasoning doesn't apply. > > : > > > > IMHO, all addresses or no addresses should be printed. This middle > > ground is no good. > > Current behaviour, without using "media": > > "ifconfig -a" does the same as "ifconfig": prints all v6, > but for v4 only prints the primary (no aliases). > > "ifconfig -A" or "ifconfig <interface>" prints all v6 > *and* all v4 including aliases. > > Add "media" with any other options and it stops printing v6, > v4 alias handling is unchanged (i.e. printed with <interface> > or -A, otherwise not).
This situation is fine. Most network users want to be able to see their ifconfig results fit on the screen.
