]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Allow using optional table id for negative `no set table X` command 15958/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 3 May 2024 05:58:21 +0000 (08:58 +0300)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Tue, 7 May 2024 14:53:18 +0000 (14:53 +0000)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit e411988a86f1b719fb16ec4c30499bfc650b4ea7)

bgpd/bgp_routemap.c

index 6c8a6dd24859df188d5364e252be6a1fc4c45fe3..d5cf6c42be88d8df73d9c22661aab43b158dcf74 100644 (file)
@@ -5882,10 +5882,11 @@ DEFUN_YANG (set_table_id,
 
 DEFUN_YANG (no_set_table_id,
            no_set_table_id_cmd,
-           "no set table",
+           "no set table [(1-4294967295)]",
            NO_STR
            SET_STR
-           "export route to non-main kernel table\n")
+           "export route to non-main kernel table\n"
+           "Kernel routing table id\n")
 {
        const char *xpath = "./set-action[action='frr-bgp-route-map:table']";
        nb_cli_enqueue_change(vty, xpath, NB_OP_DESTROY, NULL);