diff options
author | Martin Mares <mj@ucw.cz> | 2002-11-13 09:46:12 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2002-11-13 09:46:12 +0100 |
commit | de10a974f2e2e8a11b6a6852cd770c1096e1c25d (patch) | |
tree | 1c275c882f3c749b0d95086eb48397c0bea1f7d6 /nest | |
parent | 59b96d7b4d8a055aa77917099b358cfc7b5e0731 (diff) | |
download | bird-de10a974f2e2e8a11b6a6852cd770c1096e1c25d.tar bird-de10a974f2e2e8a11b6a6852cd770c1096e1c25d.zip |
Added missing semicolons.
Diffstat (limited to 'nest')
-rw-r--r-- | nest/a-path.c | 2 | ||||
-rw-r--r-- | nest/config.Y | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/nest/a-path.c b/nest/a-path.c index 0c46755..1b08f80 100644 --- a/nest/a-path.c +++ b/nest/a-path.c @@ -173,7 +173,7 @@ as_path_match(struct adata *path, struct f_path_mask *mask) } if (!asterisk) return 0; - okay: + okay: ; } break; diff --git a/nest/config.Y b/nest/config.Y index 0f52ce4..1c5cf92 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -76,6 +76,7 @@ newtab: TABLE SYM { CF_ADDTO(conf, proto) proto_start: PROTOCOL + ; proto_name: /* EMPTY */ { @@ -225,7 +226,7 @@ password_list: CF_CLI_HELP(SHOW, ..., [[Show status information]]) CF_CLI(SHOW STATUS,,, [[Show router status]]) -{ cmd_show_status(); } +{ cmd_show_status(); } ; CF_CLI(SHOW PROTOCOLS, optsym, [<name>], [[Show routing protocols]]) { proto_show($3, 0); } ; @@ -363,6 +364,7 @@ CF_CLI(RESTART, proto_patt, <protocol> | \"<pattern>\" | all, [[Restart protocol CF_CLI_HELP(DEBUG, ..., [[Control protocol debugging]]) CF_CLI(DEBUG, proto_patt debug_mask, (<protocol> | <pattern> | all) (all | off | { states | routes | filters | events | packets }), [[Control protocol debugging]]) { proto_debug($2, $3); } + ; proto_patt: SYM { $$ = $1->name; } |