]> 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)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Fri, 3 May 2024 05:58:21 +0000 (08:58 +0300)
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_routemap.c

index 7eb97dae4d2453c7d24d050abb961a84422ee8f0..df5c2557bd263e84518b98f477173a2b247ba522 100644 (file)
@@ -5897,10 +5897,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);