summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@majklik.network.cz>2009-05-10 19:23:05 +0200
committerOndrej Filip <feela@majklik.network.cz>2009-05-10 19:23:05 +0200
commitdd8d2acd3c4ed7d7eb56ca9dbb7c9a6d43e2a869 (patch)
tree88234e29cb055955f5092170ddd66035f5465d9e
parent2b70f0742e808053f87315433a2a64c749c3ec1d (diff)
Fixed bug in cli help.
-rw-r--r--nest/config.Y8
1 files changed, 4 insertions, 4 deletions
diff --git a/nest/config.Y b/nest/config.Y
index e8437770..b89e458b 100644
--- a/nest/config.Y
+++ b/nest/config.Y
@@ -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_proto
+%type <i> echo_mask echo_size debug_mask debug_list debug_flag import_or_preimport
%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|protocol) <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|preimport) <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_proto SYM {
+ | r_args import_or_preimport 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_proto:
+import_or_preimport:
PREIMPORT { $$ = 1; }
| IMPORT { $$ = 2; }
;