From: Quentin Young Date: Tue, 12 Jun 2018 20:20:43 +0000 (+0000) Subject: pbrd: use PBR_STR X-Git-Tag: frr-6.1-dev~279^2~3 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=24a21176ce559d1797dcd93c9d518430e3ef91bc;p=mirror_frr.git pbrd: use PBR_STR Signed-off-by: Quentin Young --- diff --git a/pbrd/pbr_vty.c b/pbrd/pbr_vty.c index 7eeb8cd34..dc194323d 100644 --- a/pbrd/pbr_vty.c +++ b/pbrd/pbr_vty.c @@ -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"); diff --git a/pbrd/pbr_vty.h b/pbrd/pbr_vty.h index 5a1d606e5..b2da736fd 100644 --- a/pbrd/pbr_vty.h +++ b/pbrd/pbr_vty.h @@ -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