summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/parse.y
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-03-12 10:49:13 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-03-12 10:49:13 +0000
commita78ad5a1d9c16074b62d0c381281538b45f10eee (patch)
treeb1f7be3df8e32c208dd4ab8cfb8c94cc0010a63a /usr.sbin/ospfd/parse.y
parenta2b1f75bc5734c85329d0734d0928b45b1c3de8c (diff)
Small K&F.
ok henning@
Diffstat (limited to 'usr.sbin/ospfd/parse.y')
-rw-r--r--usr.sbin/ospfd/parse.y11
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y
index e90dbad962b..e65438810b6 100644
--- a/usr.sbin/ospfd/parse.y
+++ b/usr.sbin/ospfd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.6 2005/03/07 10:28:14 claudio Exp $ */
+/* $OpenBSD: parse.y,v 1.7 2005/03/12 10:49:12 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -192,7 +192,8 @@ conf_main : METRIC number {
defaults.dead_interval = $2;
}
| TRANSMITDELAY number {
- if ($2 < MIN_TRANSMIT_DELAY || $2 > MAX_TRANSMIT_DELAY) {
+ if ($2 < MIN_TRANSMIT_DELAY ||
+ $2 > MAX_TRANSMIT_DELAY) {
yyerror("transfer-delay out of range (%d-%d)",
MIN_TRANSMIT_DELAY, MAX_TRANSMIT_DELAY);
YYERROR;
@@ -330,7 +331,8 @@ areaoptsl : interface nl
area->dead_interval = $2;
}
| TRANSMITDELAY number nl {
- if ($2 < MIN_TRANSMIT_DELAY || $2 > MAX_TRANSMIT_DELAY) {
+ if ($2 < MIN_TRANSMIT_DELAY ||
+ $2 > MAX_TRANSMIT_DELAY) {
yyerror("transfer-delay out of range (%d-%d)",
MIN_TRANSMIT_DELAY, MAX_TRANSMIT_DELAY);
YYERROR;
@@ -413,7 +415,8 @@ interfaceoptsl : authkey nl
iface->dead_interval = $2;
}
| TRANSMITDELAY number nl {
- if ($2 < MIN_TRANSMIT_DELAY || $2 > MAX_TRANSMIT_DELAY) {
+ if ($2 < MIN_TRANSMIT_DELAY ||
+ $2 > MAX_TRANSMIT_DELAY) {
yyerror("transfer-delay out of range (%d-%d)",
MIN_TRANSMIT_DELAY, MAX_TRANSMIT_DELAY);
YYERROR;