]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Client evals also functions bash-completion
authorJan Maria Matejka <mq@ucw.cz>
Thu, 14 Dec 2017 13:51:05 +0000 (14:51 +0100)
committerJan Maria Matejka <mq@ucw.cz>
Thu, 14 Dec 2017 13:51:05 +0000 (14:51 +0100)
nest/config.Y

index 2b07e99cc2ff0b450239e2d1a41d6c46a474f5c7..1d88c0eea718dfe34ca299377f3ed9dfcec4f79b 100644 (file)
@@ -735,7 +735,7 @@ CF_CLI(DUMP ROUTES,,, [[Dump routing table]])
 CF_CLI(DUMP PROTOCOLS,,, [[Dump protocol information]])
 { protos_dump_all(); cli_msg(0, ""); } ;
 
-CF_CLI(EVAL, term, <expr>, [[Evaluate an expression]], CLI_SF_CONSTANT | CLI_SF_VARIABLE)
+CF_CLI(EVAL, term, <expr>, [[Evaluate an expression]], CLI_SF_CONSTANT | CLI_SF_VARIABLE | CLI_SF_FUNCTION)
 { cmd_eval($2); } ;
 
 CF_CLI_HELP(ECHO, ..., [[Control echoing of log messages]])