diff options
author | Ondrej Filip <feela@network.cz> | 2000-06-04 18:36:57 +0200 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2000-06-04 18:36:57 +0200 |
commit | 3560cf8e0b68ce0cac5a9af2aadbc09d4f529e7c (patch) | |
tree | e929973bc193ab82b16aa2da4169adbb44eda1de /proto/ospf/config.Y | |
parent | e7811248685520ceff362b8bc7f090067ca42114 (diff) | |
download | bird-3560cf8e0b68ce0cac5a9af2aadbc09d4f529e7c.tar bird-3560cf8e0b68ce0cac5a9af2aadbc09d4f529e7c.zip |
Clean up.
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r-- | proto/ospf/config.Y | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y index c5d1d9c..9ea82f5 100644 --- a/proto/ospf/config.Y +++ b/proto/ospf/config.Y @@ -33,6 +33,7 @@ ospf_proto_start: proto_start OSPF { this_proto = proto_config_new(&proto_ospf, sizeof(struct ospf_config)); this_proto->preference = DEF_PREF_OSPF; init_list(&OSPF_CFG->area_list); + OSPF_CFG->rfc1583=1; } ; @@ -40,7 +41,7 @@ ospf_proto: ospf_proto_start proto_name '{' | ospf_proto proto_item ';' | ospf_proto RFC1583COMPAT bool ';' { OSPF_CFG->rfc1583 = $3; } - | ospf_proto ospf_area + | ospf_proto ospf_area '}' ; ospf_area_start: AREA idval '{' { @@ -54,7 +55,7 @@ ospf_area_start: AREA idval '{' { ; ospf_area: /* EMPTY */ - | ospf_area_start ospf_area_opts '}' + | ospf_area_start ospf_area_opts ; ospf_area_opts: @@ -63,7 +64,7 @@ ospf_area_opts: ospf_area_item: | STUB bool ';' { this_area->stub = $2 ; } | TICK NUM ';' { this_area->tick = $2 ; } - | ospf_iface_list + | ospf_iface_list '}' ; ospf_iface_item: @@ -100,7 +101,7 @@ ospf_iface_opts: | ospf_iface_opts ospf_iface_item ';' ; -ospf_iface_opt_list: /* EMPTY */ | ospf_iface_opts '}' +ospf_iface_opt_list: /* EMPTY */ | ospf_iface_opts ; ospf_iface: |