]> git.proxmox.com Git - mirror_frr.git/commit
zebra/vty: use prefix2str and unify show ip/ipv6 route code
authorTimo Teräs <timo.teras@iki.fi>
Sat, 23 May 2015 08:08:40 +0000 (11:08 +0300)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Thu, 9 Jun 2016 12:56:48 +0000 (08:56 -0400)
commit196aecefeb713b9da43f13eebebae84ace403f1a
tree712911e544c08a788e028dbd782471d03fda211e
parent855110bb0b6f762ebaffa0be64a1422d8d007510
zebra/vty: use prefix2str and unify show ip/ipv6 route code

Use prefix2str where possible. As now ip/ipv6 are practically
identical, they are merged removing unneeded code duplication.

Signed-off-by: Timo Teräs <timo.teras@iki.fi>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
(cherry picked from commit 53a5c39c705f917567d5b1764f1fe12ad5c5e577)
zebra/zebra_vty.c