commit | c76275ee960c708408646d8a680b201b27cb9c1a | [log] [tgz] |
---|---|---|
author | Jorge Boncompte [DTI2] <jorge@dti2.net> | Mon May 07 16:52:55 2012 +0000 |
committer | David Lamparter <equinox@opensourcerouting.org> | Tue May 22 20:25:44 2012 +0200 |
tree | 59daf9a650950d35aa5350270118cd94e4a1fde3 | |
parent | 6d85b15bbb2fd3c263d5d4b402c88ff348af877b [diff] |
bgpd: optimize loops on [e]community_hash_make() This change reduces loop count. Less jumps. * bgp_community.c: One loop per community. * bgp_ecommunity.c: One loop per ecommunity. Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>