diff options
Diffstat (limited to 'sys/netinet')
-rw-r--r-- | sys/netinet/ip_ipsp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/netinet/ip_ipsp.c b/sys/netinet/ip_ipsp.c index 2abf7f2b289..c57f4b8cff8 100644 --- a/sys/netinet/ip_ipsp.c +++ b/sys/netinet/ip_ipsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.c,v 1.74 2000/01/13 00:34:31 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.c,v 1.75 2000/01/13 05:30:11 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -1559,6 +1559,12 @@ ipsp_kern(int off, char **bufp, int len) l+= sprintf(buffer + l, "\tCurrently used by %d flows\n", i); + for (i = 0, flow = tdb->tdb_access; flow; flow = flow->flow_next) + i++; + + l+= sprintf(buffer + l, + "\t%d ingress flows specified\n", i); + l += sprintf(buffer + l, "\t%u flows have used this SA\n", tdb->tdb_cur_allocations); |