Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
dd8d2acd
Commit
dd8d2acd
authored
May 10, 2009
by
Ondrej Filip
Browse files
Fixed bug in cli help.
parent
2b70f074
Changes
1
Hide whitespace changes
Inline
Side-by-side
nest/config.Y
View file @
dd8d2acd
...
...
@@ -55,7 +55,7 @@ CF_ENUM(T_ENUM_RTD, RTD_, ROUTER, DEVICE, BLACKHOLE, UNREACHABLE, PROHIBIT)
%type <r> rtable
%type <s> optsym
%type <ra> r_args
%type <i> echo_mask echo_size debug_mask debug_list debug_flag import_or_pr
oto
%type <i> echo_mask echo_size debug_mask debug_list debug_flag import_or_pr
eimport
%type <t> proto_patt
CF_GRAMMAR
...
...
@@ -278,7 +278,7 @@ CF_CLI(SHOW INTERFACES,,, [[Show network interfaces]])
CF_CLI(SHOW INTERFACES SUMMARY,,, [[Show summary of network interfaces]])
{ if_show_summary(); } ;
CF_CLI(SHOW ROUTE, r_args, [[[<prefix>|for <prefix>|for <ip>] [table <t>] [filter <f>|where <cond>] [all] [primary] [(import|pr
otocol
) <p>] [stats|count]]], [[Show routing table]])
CF_CLI(SHOW ROUTE, r_args, [[[<prefix>|for <prefix>|for <ip>] [table <t>] [filter <f>|where <cond>] [all] [primary] [(import|pr
eimport
) <p>] [stats|count]]], [[Show routing table]])
{ rt_show($3); } ;
r_args:
...
...
@@ -324,7 +324,7 @@ r_args:
$$ = $1;
$$->primary_only = 1;
}
| r_args import_or_pr
oto
SYM {
| r_args import_or_pr
eimport
SYM {
struct proto_config *c = (struct proto_config *) $3->def;
$$ = $1;
if ($$->import_mode) cf_error("Protocol specified twice");
...
...
@@ -344,7 +344,7 @@ r_args:
}
;
import_or_pr
oto
:
import_or_pr
eimport
:
PREIMPORT { $$ = 1; }
| IMPORT { $$ = 2; }
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment