diff options
| -rw-r--r-- | bgpd/bgp_vpn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_vpn.c b/bgpd/bgp_vpn.c index e48eda7231..f922d066c3 100644 --- a/bgpd/bgp_vpn.c +++ b/bgpd/bgp_vpn.c @@ -106,6 +106,9 @@ int show_adj_route_vpn(struct vty *vty, struct peer *peer, if (bgp_node_get_bgp_path_info(rm) == NULL) continue; + if (!attr) + continue; + if (header) { if (use_json) { json_object_int_add( |
