diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-04 12:46:53 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-01-04 12:46:53 +0000 |
commit | 660a9a5d11e2039345b8cb7f1b8c06c7f6640a51 (patch) | |
tree | c02adc5d7e3a2fc21061ed65fa7123e0c11ea708 /usr.sbin/bgpctl | |
parent | 407fe7c5d6505c84269624ae5deab8865d4ad794 (diff) |
Use new BGP attribute counter.
Diffstat (limited to 'usr.sbin/bgpctl')
-rw-r--r-- | usr.sbin/bgpctl/bgpctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c index 3b356c9605e..b0d8734ceeb 100644 --- a/usr.sbin/bgpctl/bgpctl.c +++ b/usr.sbin/bgpctl/bgpctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bgpctl.c,v 1.96 2006/01/03 22:51:14 claudio Exp $ */ +/* $OpenBSD: bgpctl.c,v 1.97 2006/01/04 12:46:52 claudio Exp $ */ /* * Copyright (c) 2003 Henning Brauer <henning@openbsd.org> @@ -1033,7 +1033,7 @@ show_rib_memory_msg(struct imsg *imsg) stats.attr_cnt, fmt_mem(stats.attr_cnt * sizeof(struct attr))); printf("%10lld BGP attributes using %s of memory\n", - stats.attr_cnt, fmt_mem(stats.attr_data)); + stats.attr_dcnt, fmt_mem(stats.attr_data)); printf("RIB using %s of memory\n", fmt_mem( stats.pt4_cnt * sizeof(struct pt_entry4) + stats.pt6_cnt * sizeof(struct pt_entry6) + |