diff options
author | Jorge Boncompte [DTI2] <jorge@dti2.net> | 2012-05-07 16:52:56 +0000 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2012-05-22 20:25:49 +0200 |
commit | 8ff56318a8bd188cfcc1cdab689c46c326b50d38 (patch) | |
tree | 6b7b718166aa6fe3b7264d3efba9c39750f5917b /tests/aspath_test.c | |
parent | c76275ee960c708408646d8a680b201b27cb9c1a (diff) |
bgpd: optimize bgp_info_cmp()
* bgp_route.c: (bgp_info_cmp) Reduce indirections, precalculate some
values that are used several times, reduce conditionals.
Signed-off-by: Jorge Boncompte [DTI2] <jorge@dti2.net>
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/aspath_test.c')
0 files changed, 0 insertions, 0 deletions