summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2017-07-13 14:58:52 +0200
committerGitHub <noreply@github.com>2017-07-13 14:58:52 +0200
commit76ac0fe511bd9b440bc4cd2c966cc25f3ad8decb (patch)
tree83e3b173c91348aaf38cba516dab612f1808b99b /lib/command.h
parentf4b0619dc6596f7821f520ae731a0fd02a2a424a (diff)
parent6319fd637b643ab7db81dbfb21f81daf4aa9253d (diff)
Merge pull request #798 from dwalton76/CMD_RANGE_STR
bgpd: --enable-multipath=256 setting is ignored
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"