]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_vty.c
isisd: implement the 'lsp-received' notification
[mirror_frr.git] / bgpd / bgp_vty.c
index 06caebe567bbe9949aaa791f13bbb8f0c0fc7be7..bac46f251b0812f118e0e4e714b919bdc5763831 100644 (file)
@@ -7213,7 +7213,9 @@ static int bgp_clear_prefix(struct vty *vty, const char *view_name,
                        if (prd && memcmp(rn->p.u.val, prd->val, 8) != 0)
                                continue;
 
-                       if ((table = rn->info) != NULL) {
+                       table = bgp_node_get_bgp_table_info(rn);
+                       if (table != NULL) {
+
                                if ((rm = bgp_node_match(table, &match))
                                    != NULL) {
                                        if (rm->p.prefixlen
@@ -9722,7 +9724,7 @@ static void bgp_show_peer(struct vty *vty, struct peer *p, bool use_json,
                                                                json_object_string_add(
                                                                        json_nxt,
                                                                        print_store,
-                                                                       "received");
+                                                                       "recieved"); /* misspelled for compatibility */
                                                        }
                                                }
                                                json_object_object_add(