summaryrefslogtreecommitdiff
path: root/zebra/zebra_static.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2017-09-17 19:23:16 -0400
committerGitHub <noreply@github.com>2017-09-17 19:23:16 -0400
commita7dd519b58c9f68d0b74bd6fb5daaf88e84ece63 (patch)
treef92c696d8b17e153953d0c3123d03bc7e41c09f3 /zebra/zebra_static.c
parentaf34a65a62efc13310facf054ac388d45e9c2e01 (diff)
parenta2addae8fe172f04f4d8ac99aa123a7d2dd64604 (diff)
Merge pull request #1188 from opensourcerouting/foreach_indentation
*: use clang's 'ForEachMacros' format style option
Diffstat (limited to 'zebra/zebra_static.c')
-rw-r--r--zebra/zebra_static.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_static.c b/zebra/zebra_static.c
index 658f060fff..836a2aa6a5 100644
--- a/zebra/zebra_static.c
+++ b/zebra/zebra_static.c
@@ -67,8 +67,7 @@ void static_install_route(afi_t afi, safi_t safi, struct prefix *p,
/* Lookup existing route */
rn = srcdest_rnode_get(table, p, src_p);
- RNODE_FOREACH_RE(rn, re)
- {
+ RNODE_FOREACH_RE (rn, re) {
if (CHECK_FLAG(re->status, ROUTE_ENTRY_REMOVED))
continue;
@@ -281,8 +280,7 @@ void static_uninstall_route(afi_t afi, safi_t safi, struct prefix *p,
if (!rn)
return;
- RNODE_FOREACH_RE(rn, re)
- {
+ RNODE_FOREACH_RE (rn, re) {
if (CHECK_FLAG(re->status, ROUTE_ENTRY_REMOVED))
continue;