Re: [PATCH iproute2] Add support for rt_protos.d

2017-01-12 Thread David Ahern
On 1/12/17 6:27 PM, Stephen Hemminger wrote: >> diff --git a/etc/iproute2/rt_protos.d/README >> b/etc/iproute2/rt_protos.d/README >> new file mode 100644 >> index ..723509ce56b6 >> --- /dev/null >> +++ b/etc/iproute2/rt_protos.d/README >> @@ -0,0 +1,3 @@ >> +Each file in this directory

Re: [PATCH iproute2] Add support for rt_protos.d

2017-01-12 Thread Stephen Hemminger
On Mon, 9 Jan 2017 15:43:09 -0800 David Ahern wrote: > Add support for reading proto id/name mappings from rt_protos.d > directory. Allows users to have custom protocol values converted > to human friendly names. > > Each file under rt_protos.d has the 'id name' format used by > rt_protos. Only

[PATCH iproute2] Add support for rt_protos.d

2017-01-09 Thread David Ahern
Add support for reading proto id/name mappings from rt_protos.d directory. Allows users to have custom protocol values converted to human friendly names. Each file under rt_protos.d has the 'id name' format used by rt_protos. Only .conf files are read and parsed. Signed-off-by: David Ahern ---