summaryrefslogtreecommitdiffstats
path: root/proto/ospf/config.Y
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>1999-04-13 20:21:53 +0200
committerOndrej Filip <feela@network.cz>1999-04-13 20:21:53 +0200
commitaec76c6e8e5702144522f0061bc102d26e10b97c (patch)
treef13f00c0bd035c2efb6b2dc9bf1b8e5baa956243 /proto/ospf/config.Y
parent43fc099b98594fb3ac6a56a90fd00f42fc98f742 (diff)
downloadbird-aec76c6e8e5702144522f0061bc102d26e10b97c.tar
bird-aec76c6e8e5702144522f0061bc102d26e10b97c.zip
IPv6 changes.
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 3f41623..9840def 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;
}
;