]> git.puffer.fish Git - mirror/frr.git/commitdiff
isisd/fabricd: use PROTO_NAME in SR code
authorDavid Lamparter <equinox@opensourcerouting.org>
Thu, 6 Oct 2022 14:04:03 +0000 (16:04 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Wed, 26 Oct 2022 16:12:34 +0000 (17:12 +0100)
The IS-IS SR code was missing a use of `PROTO_NAME`, making fabricd
collide with the isisd CLI command.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
isisd/isis_sr.c

index f70840a637577db4aad55e19f262685972957e2c..707bd162f5ec18f48018f304d3b8c733971a0e41 100644 (file)
@@ -1057,8 +1057,9 @@ static void show_node(struct vty *vty, struct isis_area *area, int level)
 }
 
 DEFUN(show_sr_node, show_sr_node_cmd,
-      "show isis segment-routing node",
-      SHOW_STR PROTO_HELP
+      "show " PROTO_NAME " segment-routing node",
+      SHOW_STR
+      PROTO_HELP
       "Segment-Routing\n"
       "Segment-Routing node\n")
 {