summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--proto/ospf/config.Y2
-rw-r--r--proto/radv/config.Y4
2 files changed, 3 insertions, 3 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index a617292e..3f09afba 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -440,7 +440,7 @@ lsadb_args:
$$ = cfg_allocz(sizeof(struct lsadb_show_data));
}
| lsadb_args GLOBAL { $$ = $1; $$->scope = LSA_SCOPE_AS; }
- | lsadb_args AREA idval { $$ = $1; $$->scope = LSA_SCOPE_AREA; $$->area = $3 }
+ | lsadb_args AREA idval { $$ = $1; $$->scope = LSA_SCOPE_AREA; $$->area = $3; }
| lsadb_args LINK { $$ = $1; $$->scope = 1; /* hack, 0 is no filter */ }
| lsadb_args TYPE NUM { $$ = $1; $$->type = $3; }
| lsadb_args LSID idval { $$ = $1; $$->lsid = $3; }
diff --git a/proto/radv/config.Y b/proto/radv/config.Y
index fbec5a0a..c5b7aaee 100644
--- a/proto/radv/config.Y
+++ b/proto/radv/config.Y
@@ -290,8 +290,8 @@ radv_mult:
;
radv_sensitive:
- /* empty */ { $$ = -1 }
- | SENSITIVE bool { $$ = $2 }
+ /* empty */ { $$ = -1; }
+ | SENSITIVE bool { $$ = $2; }
;
CF_CODE