mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 14:42:06 +00:00
Merge pull request #4445 from pguibert6WIND/display_show_nht_if_not_found
zebra: the route nexthop interfaces per vrf were not displayed ok
This commit is contained in:
commit
ecccf2275a
@ -1132,7 +1132,7 @@ static int send_client(struct rnh *rnh, struct zserv *client, rnh_type_t type,
|
|||||||
static void print_nh(struct nexthop *nexthop, struct vty *vty)
|
static void print_nh(struct nexthop *nexthop, struct vty *vty)
|
||||||
{
|
{
|
||||||
char buf[BUFSIZ];
|
char buf[BUFSIZ];
|
||||||
struct zebra_ns *zns = zebra_ns_lookup(NS_DEFAULT);
|
struct zebra_ns *zns = zebra_ns_lookup(nexthop->vrf_id);
|
||||||
|
|
||||||
switch (nexthop->type) {
|
switch (nexthop->type) {
|
||||||
case NEXTHOP_TYPE_IPV4:
|
case NEXTHOP_TYPE_IPV4:
|
||||||
|
Loading…
Reference in New Issue
Block a user