summaryrefslogtreecommitdiff
path: root/proto/ospf/config.Y
diff options
context:
space:
mode:
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r--proto/ospf/config.Y4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 3f416237..9840def0 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -14,6 +14,8 @@ CF_DECLS
CF_KEYWORDS(OSPF, AREA)
+%type <i> idval
+
CF_GRAMMAR
CF_ADDTO(proto, ospf_proto '}')
@@ -29,7 +31,7 @@ ospf_proto:
| ospf_proto ospf_area ';'
;
-ospf_area: AREA IPA {
+ospf_area: AREA idval ';' {
((struct ospf_config *)this_proto)->area = $2;
}
;