]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Drop redundand output under `show rpki prefix-table` 11268/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 24 May 2022 13:18:11 +0000 (16:18 +0300)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 24 May 2022 13:18:11 +0000 (16:18 +0300)
This is already handled by a separate command `show rpki cache-server`.

Probably just copy/paste error.

Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_rpki.c

index b6f59d6712716234ed0968a9bbae39ae5972d445..e5b4ba18381b6a33c88d7315ee4e6a1a4ac7f4ec 100644 (file)
@@ -1194,14 +1194,6 @@ DEFUN (show_rpki_prefix_table,
        RPKI_OUTPUT_STRING
        "Show validated prefixes which were received from RPKI Cache\n")
 {
-       struct listnode *cache_node;
-       struct cache *cache;
-
-       for (ALL_LIST_ELEMENTS_RO(cache_list, cache_node, cache)) {
-               vty_out(vty, "host: %s port: %s\n",
-                       cache->tr_config.tcp_config->host,
-                       cache->tr_config.tcp_config->port);
-       }
        if (is_synchronized())
                print_prefix_table(vty);
        else