diff options
| author | Quentin Young <qlyoung@users.noreply.github.com> | 2017-09-17 19:23:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-09-17 19:23:16 -0400 |
| commit | a7dd519b58c9f68d0b74bd6fb5daaf88e84ece63 (patch) | |
| tree | f92c696d8b17e153953d0c3123d03bc7e41c09f3 /zebra/zebra_vrf.c | |
| parent | af34a65a62efc13310facf054ac388d45e9c2e01 (diff) | |
| parent | a2addae8fe172f04f4d8ac99aa123a7d2dd64604 (diff) | |
Merge pull request #1188 from opensourcerouting/foreach_indentation
*: use clang's 'ForEachMacros' format style option
Diffstat (limited to 'zebra/zebra_vrf.c')
| -rw-r--r-- | zebra/zebra_vrf.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/zebra/zebra_vrf.c b/zebra/zebra_vrf.c index 62c7d020bc..bf8a17c3ef 100644 --- a/zebra/zebra_vrf.c +++ b/zebra/zebra_vrf.c @@ -70,8 +70,7 @@ void zebra_vrf_update_all(struct zserv *client) { struct vrf *vrf; - RB_FOREACH(vrf, vrf_id_head, &vrfs_by_id) - { + RB_FOREACH (vrf, vrf_id_head, &vrfs_by_id) { if (vrf->vrf_id) zsend_vrf_add(client, vrf_info_lookup(vrf->vrf_id)); } @@ -290,7 +289,7 @@ static void zebra_rtable_node_cleanup(struct route_table *table, { struct route_entry *re, *next; - RNODE_FOREACH_RE_SAFE(node, re, next) { + RNODE_FOREACH_RE_SAFE (node, re, next) { rib_unlink(node, re); } @@ -468,8 +467,7 @@ static int vrf_config_write(struct vty *vty) struct vrf *vrf; struct zebra_vrf *zvrf; - RB_FOREACH(vrf, vrf_name_head, &vrfs_by_name) - { + RB_FOREACH (vrf, vrf_name_head, &vrfs_by_name) { zvrf = vrf->info; if (!zvrf) |
