mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-16 00:25:01 +00:00
lib: netns checkstyle fix
A space is appended between RB_FOREACH and ' ', to comply with style practiced in frr. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
This commit is contained in:
parent
a2c999f21f
commit
c485b14bdc
@ -130,7 +130,7 @@ static struct ns *ns_lookup_name_internal(const char *name)
|
|||||||
{
|
{
|
||||||
struct ns *ns = NULL;
|
struct ns *ns = NULL;
|
||||||
|
|
||||||
RB_FOREACH(ns, ns_head, &ns_tree) {
|
RB_FOREACH (ns, ns_head, &ns_tree) {
|
||||||
if (ns->name != NULL) {
|
if (ns->name != NULL) {
|
||||||
if (strcmp(name, ns->name) == 0)
|
if (strcmp(name, ns->name) == 0)
|
||||||
return ns;
|
return ns;
|
||||||
@ -328,7 +328,7 @@ void ns_walk_func(int (*func)(struct ns *))
|
|||||||
{
|
{
|
||||||
struct ns *ns = NULL;
|
struct ns *ns = NULL;
|
||||||
|
|
||||||
RB_FOREACH(ns, ns_head, &ns_tree)
|
RB_FOREACH (ns, ns_head, &ns_tree)
|
||||||
func(ns);
|
func(ns);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user