summaryrefslogtreecommitdiff
path: root/proto/bfd
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2019-01-30 14:03:47 +0100
committerMaria Matejka <mq@ucw.cz>2019-02-20 22:30:54 +0100
commitc0e958e022aac79f69e6aca2652fdb6a529e68e2 (patch)
treeed43827b8f1ade3b7bec7edd9a64b0dfdbd2343a /proto/bfd
parent713658798dfafabcd0a74f510c1639f6e3c9c820 (diff)
Filter + Config: Fix bugs, tests and split symbols by type
Diffstat (limited to 'proto/bfd')
-rw-r--r--proto/bfd/config.Y4
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/bfd/config.Y b/proto/bfd/config.Y
index 3f5714fd..41228e51 100644
--- a/proto/bfd/config.Y
+++ b/proto/bfd/config.Y
@@ -134,7 +134,7 @@ bfd_multihop:
bfd_neigh_iface:
/* empty */ { $$ = NULL; }
- | '%' SYM { $$ = if_get_by_name($2->name); }
+ | '%' symbol { $$ = if_get_by_name($2->name); }
| DEV text { $$ = if_get_by_name($2); }
;
@@ -167,7 +167,7 @@ bfd_neighbor: ipa bfd_neigh_iface bfd_neigh_local bfd_neigh_multihop
CF_CLI_HELP(SHOW BFD, ..., [[Show information about BFD protocol]]);
-CF_CLI(SHOW BFD SESSIONS, optsym, [<name>], [[Show information about BFD sessions]])
+CF_CLI(SHOW BFD SESSIONS, optproto, [<name>], [[Show information about BFD sessions]])
{ bfd_show_sessions(proto_get_named($4, &proto_bfd)); };
CF_CODE