]> git.puffer.fish Git - mirror/frr.git/commit
lib: make if_lookup_by_index_all_vrf internal 9833/head
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 14 Oct 2021 16:15:14 +0000 (19:15 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 28 Oct 2021 15:54:46 +0000 (18:54 +0300)
commit35367f03504e984f620bd1af64090b21022b3a99
treef350eb6a0b96d46f3779fe7f60ad3a17822c1a9d
parenta2df495fdf21a08c8ab430303bd3c4e2e8c7f7a9
lib: make if_lookup_by_index_all_vrf internal

This function doesn't work correctly with netns VRF backend as the same
index 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