From 660a9a5d11e2039345b8cb7f1b8c06c7f6640a51 Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Wed, 4 Jan 2006 12:46:53 +0000 Subject: Use new BGP attribute counter. --- usr.sbin/bgpctl/bgpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/bgpctl') 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 @@ -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) + -- cgit v1.2.3