summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1998-11-16 08:03:00 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1998-11-16 08:03:00 +0000
commite7b1a21acb051df256368cf860c125653d011742 (patch)
tree541c145477d4e50a34bebcc268ba563683262305 /sys/netinet
parent6fa6fb2f6e0c9153c5676d5eb0b8d27d7bfbb4f2 (diff)
Please GCC
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ipsp.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c
index 523efabf0bf..c05014cc9b1 100644
--- a/sys/netinet/ip_ipsp.c
+++ b/sys/netinet/ip_ipsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ipsp.c,v 1.29 1998/11/16 08:00:43 niklas Exp $ */
+/* $OpenBSD: ip_ipsp.c,v 1.30 1998/11/16 08:02:59 niklas Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -814,7 +814,7 @@ ipsp_kern(int off, char **bufp, int len)
l += sprintf(buffer + l, "\t\tCurrently %qu packets processed\n",
tdb->tdb_cur_packets);
- if (tdb->tdb_flags & TDBF_FIRSTUSE)
+ if (tdb->tdb_flags & TDBF_FIRSTUSE) {
if (tdb->tdb_first_use)
l += sprintf(buffer + l,
"\t\tHard expiration(2) in %qu seconds\n",
@@ -824,8 +824,9 @@ ipsp_kern(int off, char **bufp, int len)
l += sprintf(buffer + l,
"\t\tHard expiration in %qu seconds after first "
"use\n", tdb->tdb_exp_first_use);
+ }
- if (tdb->tdb_flags & TDBF_SOFT_FIRSTUSE)
+ if (tdb->tdb_flags & TDBF_SOFT_FIRSTUSE) {
if (tdb->tdb_first_use)
l += sprintf(buffer + l,
"\t\tSoft expiration(2) in %qu seconds\n",
@@ -835,6 +836,7 @@ ipsp_kern(int off, char **bufp, int len)
l += sprintf(buffer + l,
"\t\tSoft expiration in %qu seconds after first "
"use\n", tdb->tdb_soft_first_use);
+ }
if (!(tdb->tdb_flags & (TDBF_TIMER | TDBF_SOFT_TIMER | TDBF_BYTES |
TDBF_SOFT_PACKETS | TDBF_PACKETS |