]> git.puffer.fish Git - matthieu/frr.git/commitdiff
lib: fix negating set metric route-map command
authorDavid Schweizer <dschweizer@opensourcerouting.org>
Thu, 10 Sep 2020 07:14:58 +0000 (09:14 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Tue, 6 Oct 2020 12:54:24 +0000 (15:54 +0300)
Changed negating set metric route-map command to be usable in
conjunction with the affirming command.

Signed-off-by: David Schweizer <dschweizer@opensourcerouting.org>
lib/routemap_cli.c

index 920f6c719537e79e3ef4adf9b5f8116fabafd6c4..339d0251241611dbabfb5459e31a648c3dd59783 100644 (file)
@@ -763,7 +763,7 @@ DEFPY_YANG(
 
 DEFPY_YANG(
        no_set_metric, no_set_metric_cmd,
-       "no set metric [(0-4294967295)]",
+       "no set metric [OPTVAL]",
        NO_STR
        SET_STR
        "Metric value for destination routing protocol\n"