diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2024-10-30 11:05:11 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2024-10-31 10:35:00 -0400 |
| commit | 852e6c327dcaea1b73a5f703646edb5685dac204 (patch) | |
| tree | d810d31d4fc29efa6be1076754f5a79d0f76a645 /python/makevars.py | |
| parent | 35dbbacc3b7fb31f095a2382af3ef469f417dc19 (diff) | |
bgpd: allowas_in and aspath_loop_count only used in one if statement
In bgp_update(), the two variables allowas_in and aspath_loop_count
are only used when peer->change_local_as is true. Move the retrieval
of the allowas_in data to inside the if statement to save some
(very) small amount of time in bgp_update not gathering this
data unless the particular peer has this set.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'python/makevars.py')
0 files changed, 0 insertions, 0 deletions
