]> git.proxmox.com Git - mirror_frr.git/commit
lib: make if_lookup_by_name_all_vrf internal
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 18:06:38 +0000 (21:06 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 15 Oct 2021 00:44:42 +0000 (03:44 +0300)
commit0df2e1888b1e8011bc1e3ec6ed6c34a9e6fcaae9
tree4a56a81402e1cd1f20e92bb3ba9bdeed55f0b618
parentf13fdc673c1a51df0cda0952da390f4d10a0ecd7
lib: make if_lookup_by_name_all_vrf internal

This function doesn't work correctly with netns VRF backend as the same
ifname may be used in multiple netns simultaneously. So let's hide it
from the public API to reduce temptation to use it instead of writing
the correct code.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/if.c
lib/if.h