summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-08-10 17:47:32 +0000
committerOndrej Filip <feela@network.cz>2004-08-10 17:47:32 +0000
commit7715f9d9edb2cd5a230424881b1d5ec4e842738a (patch)
tree4debcf7107550b20f83fafdd3d0ff923d53e81ec
parent56e2a4b776b0d013f71bff9fbf8550442c11df91 (diff)
Bugfix in 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 3a021db9..91cd5b85 100644
--- a/proto/ospf/config.Y
+++ b/proto/ospf/config.Y
@@ -127,7 +127,7 @@ ospf_iface_item:
| POLL expr { OSPF_PATT->pollint = $2 ; if ($2<=0) cf_error("Poll int must be greater than zero"); }
| RETRANSMIT expr { OSPF_PATT->rxmtint = $2 ; if ($2<=0) cf_error("Retransmit int must be greater than zero"); }
| TRANSMIT DELAY expr { OSPF_PATT->inftransdelay = $3 ; if (($3<=0) || ($3>65535)) cf_error("Transmit delay must be in range 1-65535"); }
- | PRIORITY expr { OSPF_PATT->priority = $2 ; if (($2<0) || ($2>255)) cf_error("Priority must be in range 0-255")}
+ | PRIORITY expr { OSPF_PATT->priority = $2 ; if (($2<0) || ($2>255)) cf_error("Priority must be in range 0-255"); }
| WAIT expr { OSPF_PATT->waitint = $2 ; }
| DEAD COUNT expr { OSPF_PATT->deadc = $3 ; if ($3<=1) cf_error("Dead count must be greater than one"); }
| TYPE BROADCAST { OSPF_PATT->type = OSPF_IT_BCAST ; }