]> git.proxmox.com Git - mirror_iproute2.git/commit - ip/ipmroute.c
ip: mroute: Add table output to show command
authorDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 14 Jun 2017 12:08:12 +0000 (08:08 -0400)
committerStephen Hemminger <stephen@networkplumber.org>
Thu, 15 Jun 2017 15:29:30 +0000 (08:29 -0700)
commit3dc98cf2f51ffa2ebcc6c592aa95eae78d04d0c7
treec7f6fe62b68da221b484b99a419a2df9362ca76f
parenta11b7b71a6eba4ee80e931e4f75321a0cf0116f1
ip: mroute: Add table output to show command

When the user specifies `table all` or `table 0` to
the `ip mroute show` command we dump the entirety of
the known mroute tables.  Without some sort of
divisor to tell us what table we are looking at
the command is useless.

Add `Table: <vrf name>` to the output of 'ip mroute show table 0'

Follow the convention established by 'ip route show table 0'
for when to display

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Reviewed-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
ip/ipmroute.c