]> git.proxmox.com Git - mirror_frr.git/commitdiff
pbrd: use PBR_STR
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 12 Jun 2018 20:20:43 +0000 (20:20 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 12 Jun 2018 20:28:04 +0000 (20:28 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
pbrd/pbr_vty.c
pbrd/pbr_vty.h

index 7eeb8cd34806d9a101d64c4e507df1a63088ebfa..dc194323d65fd295e914cb1634a9e6cb96c931ac 100644 (file)
@@ -383,7 +383,7 @@ DEFPY (show_pbr,
        show_pbr_cmd,
        "show pbr",
        SHOW_STR
-       "Policy Based Routing\n")
+       PBR_STR)
 {
        pbr_nht_write_table_range(vty);
        pbr_nht_write_rule_range(vty);
@@ -395,7 +395,7 @@ DEFPY (show_pbr_map,
        show_pbr_map_cmd,
        "show pbr map [NAME$name] [detail$detail]",
        SHOW_STR
-       "Policy Based Routing\n"
+       PBR_STR
        "PBR Map\n"
        "PBR Map Name\n"
        "Detailed information\n")
@@ -463,7 +463,7 @@ DEFPY(show_pbr_nexthop_group,
       show_pbr_nexthop_group_cmd,
       "show pbr nexthop-groups [WORD$word]",
       SHOW_STR
-      "Policy Based Routing\n"
+      PBR_STR
       "Nexthop Groups\n"
       "Optional Name of the nexthop group\n")
 {
@@ -476,7 +476,7 @@ DEFPY (show_pbr_interface,
        show_pbr_interface_cmd,
        "show pbr interface [NAME$name]",
        SHOW_STR
-       "Policy Based Routing\n"
+       PBR_STR
        "PBR Interface\n"
        "PBR Interface Name\n")
 {
@@ -520,7 +520,7 @@ DEFPY(debug_pbr,
       "[no] debug pbr [{map$map|zebra$zebra|nht$nht|events$events}]",
       NO_STR
       DEBUG_STR
-      "Policy Based Routing\n"
+      PBR_STR
       "Policy maps\n"
       "PBRD <-> Zebra communications\n"
       "Nexthop tracking\n"
@@ -549,7 +549,7 @@ DEFUN_NOSH(show_debugging_pbr,
           "show debugging [pbr]",
           SHOW_STR
           DEBUG_STR
-          "Policy Based Routing\n")
+          PBR_STR)
 {
        vty_out(vty, "PBR debugging status:\n");
 
index 5a1d606e59e8cab26840c8c7a3aae5ac206d8376..b2da736fd81a887ee1237ead947d472a1e4d9ce5 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef __PBR_VTY_H__
 #define __PBR_VTY_H__
 
-#define PBR_STR "Policy based routing\n"
+#define PBR_STR "Policy Based Routing\n"
 
 extern void pbr_vty_init(void);
 #endif