summaryrefslogtreecommitdiff
path: root/bgpd/bgp_damp.h
diff options
context:
space:
mode:
authorJorge Boncompte [DTI2] <jorge@dti2.net>2012-05-07 16:52:56 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2012-05-22 20:25:49 +0200
commit8ff56318a8bd188cfcc1cdab689c46c326b50d38 (patch)
tree6b7b718166aa6fe3b7264d3efba9c39750f5917b /bgpd/bgp_damp.h
parentc76275ee960c708408646d8a680b201b27cb9c1a (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 'bgpd/bgp_damp.h')
0 files changed, 0 insertions, 0 deletions