From: Donatas Abraitis Date: Fri, 3 May 2024 05:58:21 +0000 (+0300) Subject: bgpd: Allow using optional table id for negative `no set table X` command X-Git-Tag: docker/10.0.1~22^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=6a0120044ffbeff56653f4076762a994e1eac389;p=mirror%2Ffrr.git bgpd: Allow using optional table id for negative `no set table X` command Signed-off-by: Donatas Abraitis (cherry picked from commit e411988a86f1b719fb16ec4c30499bfc650b4ea7) --- diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c index 6c8a6dd248..d5cf6c42be 100644 --- a/bgpd/bgp_routemap.c +++ b/bgpd/bgp_routemap.c @@ -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);