From b2bdb4065667f466575b831f4a3166bd309d9d14 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Sat, 11 Aug 2001 16:22:29 +0000 Subject: Changed definition of stub area. --- proto/ospf/config.Y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/config.Y') 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 ; -- cgit v1.2.3