summaryrefslogtreecommitdiff
path: root/zebra/zebra_routemap.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_routemap.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_routemap.c')
-rw-r--r--zebra/zebra_routemap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/zebra/zebra_routemap.c b/zebra/zebra_routemap.c
index 0fa616bef9..dd0189666e 100644
--- a/zebra/zebra_routemap.c
+++ b/zebra/zebra_routemap.c
@@ -354,8 +354,7 @@ DEFUN (set_src,
return CMD_WARNING_CONFIG_FAILED;
}
- RB_FOREACH(vrf, vrf_id_head, &vrfs_by_id)
- {
+ RB_FOREACH (vrf, vrf_id_head, &vrfs_by_id) {
if (family == AF_INET)
pif = if_lookup_exact_address((void *)&src.ipv4,
AF_INET, vrf->vrf_id);