]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: Allow using optional table id for negative `no set table X` command
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:33 +0000 (14:53 +0000)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
(cherry picked from commit e411988a86f1b719fb16ec4c30499bfc650b4ea7)

bgpd/bgp_routemap.c

index ff2b1e8c81db1855858f7d4486fc37a9ad5583cf..f732b16d19a1911b1ea994aeb6041474069cc04f 100644 (file)
@@ -5863,10 +5863,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);