mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 02:20:17 +00:00
lib: optimize vrf_id_to_name(VRF_DEFAULT) case
vrf_id_to_name() looks up in a RB_TREE to find the VRF entry, then reads the name. Avoid it for VRF_DEFAULT, which always exists and for which the translation is straightforward. Signed-off-by: Christophe Gouault <christophe.gouault@6wind.com>
This commit is contained in:
parent
8277d4b796
commit
7c1119cb7a
Loading…
Reference in New Issue
Block a user