From 775063494694d247b340bb1145e509e31af27802 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 12 Apr 2000 13:21:23 +0000 Subject: Introduced `ARRAY_SIZE' macro to replace all the sizeof(a)/sizeof(*a) constructs. --- proto/bgp/attrs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'proto') diff --git a/proto/bgp/attrs.c b/proto/bgp/attrs.c index 5c1e70d..350123a 100644 --- a/proto/bgp/attrs.c +++ b/proto/bgp/attrs.c @@ -185,8 +185,7 @@ bgp_get_bucket(struct bgp_proto *p, ea_list *old, ea_list *tmp) } /* Ensure that there are all mandatory attributes */ - /* FIXME: Introduce array size macro */ - for(i=0; ip.name, bgp_attr_table[bgp_mandatory_attrs[i]].name); -- cgit v1.2.3