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_rnh.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_rnh.c')
| -rw-r--r-- | zebra/zebra_rnh.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_rnh.c b/zebra/zebra_rnh.c index 77cfa9860f..4bc9caca5d 100644 --- a/zebra/zebra_rnh.c +++ b/zebra/zebra_rnh.c @@ -405,8 +405,7 @@ static struct route_entry *zebra_rnh_resolve_entry(vrf_id_t vrfid, int family, re = NULL; else { /* Identify appropriate route entry. */ - RNODE_FOREACH_RE(rn, re) - { + RNODE_FOREACH_RE (rn, re) { if (CHECK_FLAG(re->status, ROUTE_ENTRY_REMOVED)) continue; if (!CHECK_FLAG(re->status, ROUTE_ENTRY_SELECTED_FIB)) @@ -578,8 +577,7 @@ static void zebra_rnh_process_static_routes(vrf_id_t vrfid, int family, /* Evaluate each static route associated with this nexthop. */ for (ALL_LIST_ELEMENTS_RO(rnh->zebra_static_route_list, node, static_rn)) { - RNODE_FOREACH_RE(static_rn, sre) - { + RNODE_FOREACH_RE (static_rn, sre) { if (sre->type != ZEBRA_ROUTE_STATIC) continue; |
