[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1467119237-12544-1-git-send-email-phil@nwl.cc>
Date: Tue, 28 Jun 2016 15:07:15 +0200
From: Phil Sutter <phil@....cc>
To: Stephen Hemminger <shemming@...cade.com>
Cc: netdev@...r.kernel.org
Subject: [iproute PATCH 0/2] ip-address: fix type list inconsistencies
The basic problem was differences in type list reported by help output
and stated in man page.
I decided to tackle the problem from both sides:
a) Make sure 'ip addr show' supports matching on all types reported.
b) Add missing types in either list.
This is still rather best-effort, actually things are quite messed up:
- Lists are not sorted, it's easy to miss something.
- The type list is duplicated four times as ip-link help and man page
contain it, too.
- The kernel supports more types than listed here.
- We can't add but match on all types the kernel supports.
Phil Sutter (2):
ip-address: Support filtering by slave type, too
ip-address: Align type list in help and man page
ip/ipaddress.c | 58 +++++++++++++++++++++++++++---------------------
man/man8/ip-address.8.in | 3 +++
2 files changed, 36 insertions(+), 25 deletions(-)
--
2.8.2
Powered by blists - more mailing lists