summaryrefslogtreecommitdiff
path: root/lib/if.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-10-27 15:29:39 -0400
committerGitHub <noreply@github.com>2021-10-27 15:29:39 -0400
commitf727c6ae8a62be99bd5be5a191fbd7df455a35f0 (patch)
tree9e9bde7f79993485caf03678351041c05379a81e /lib/if.c
parentf1506cf36b91014d920f82bbfe655651a2356141 (diff)
parent0df2e1888b1e8011bc1e3ec6ed6c34a9e6fcaae9 (diff)
Merge pull request #9837 from idryzhov/cleanup-if-by-name-vrf-all
*: fix usage of if_lookup_by_name_all_vrf
Diffstat (limited to 'lib/if.c')
-rw-r--r--lib/if.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/if.c b/lib/if.c
index 78465c49c0..4ccb36d091 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -423,7 +423,7 @@ struct interface *if_lookup_by_name_vrf(const char *name, struct vrf *vrf)
return RB_FIND(if_name_head, &vrf->ifaces_by_name, &if_tmp);
}
-struct interface *if_lookup_by_name_all_vrf(const char *name)
+static struct interface *if_lookup_by_name_all_vrf(const char *name)
{
struct vrf *vrf;
struct interface *ifp;