summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2017-07-11 18:41:08 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2017-07-11 18:41:08 +0000
commit6319fd637b643ab7db81dbfb21f81daf4aa9253d (patch)
tree766f440021aec2fd15b4cdb0996bc40ab1931cb1 /lib/command.h
parent1c95bad18a0256bc7f85db773a39bbc7484078de (diff)
bgpd: --enable-multipath=256 setting is ignored
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Restoring some code that was unintentionally removed when we were migrating to Quentin's parser.
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/command.h b/lib/command.h
index 927c04006c..9768380c74 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -293,6 +293,7 @@ struct cmd_node
*/
#define CMD_CREATE_STR(s) CMD_CREATE_STR_HELPER(s)
#define CMD_CREATE_STR_HELPER(s) #s
+#define CMD_RANGE_STR(a,s) "(" CMD_CREATE_STR(a) "-" CMD_CREATE_STR(s) ")"
/* Common descriptions. */
#define SHOW_STR "Show running system information\n"