]> git.ipfire.org Git - thirdparty/iproute2.git/commit
Add support for rt_protos.d
authorDavid Ahern <dsa@cumulusnetworks.com>
Mon, 9 Jan 2017 23:43:09 +0000 (15:43 -0800)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 13 Jan 2017 01:31:18 +0000 (17:31 -0800)
commit719e331ff6190add96a60479df95e791411e5fa4
treef0d1f6f62af8679282478746e1eb1fcd419d70d6
parent9b036afd3cb067d722817765a120a8221096b196
Add support for rt_protos.d

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 <dsa@cumulusnetworks.com>
etc/iproute2/rt_protos.d/README [new file with mode: 0644]
etc/iproute2/rt_tables.d/README
lib/rt_names.c