summaryrefslogtreecommitdiffstats
path: root/proto/ospf/config.Y
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2001-08-11 18:22:29 +0200
committerOndrej Filip <feela@network.cz>2001-08-11 18:22:29 +0200
commitb2bdb4065667f466575b831f4a3166bd309d9d14 (patch)
tree21d834594b8a985de7dc45aca01cbbc8cf3018e5 /proto/ospf/config.Y
parent85062e8a600cc7896b8bcaf3960bb782aa9f2ff0 (diff)
downloadbird-b2bdb4065667f466575b831f4a3166bd309d9d14.tar
bird-b2bdb4065667f466575b831f4a3166bd309d9d14.zip
Changed definition of stub area.
Diffstat (limited to 'proto/ospf/config.Y')
-rw-r--r--proto/ospf/config.Y2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/config.Y b/proto/ospf/config.Y
index 459a236..140cbb4 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -70,7 +70,7 @@ ospf_area_opts:
;
ospf_area_item:
- STUB bool { this_area->stub = $2 ; }
+ STUB COST expr { this_area->stub = $3 ; if($3<=0) cf_error("Stub cost must be greater than zero"); }
| TICK expr { this_area->tick = $2 ; if($2<=0) cf_error("Tick must be greater than zero"); }
| INTERFACE ospf_iface_list
;