diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 |
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2017-07-22 14:52:33 +0200 |
| commit | 9d303b37d73b8fe2bef310d8d9ca1acad23c2501 (patch) | |
| tree | bbe78c595bd8f42b76322df2a37cf81f60c08a6a /lib/routemap.c | |
| parent | dceb5f8ac71a839389786f5040a50b8feec30156 (diff) | |
Revert "*: reindent pt. 2"
This reverts commit c14777c6bfd0a446c85243d3a9835054a259c276.
clang 5 is not widely available enough for people to indent with. This
is particularly problematic when rebasing/adjusting branches.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/routemap.c')
| -rw-r--r-- | lib/routemap.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/routemap.c b/lib/routemap.c index 40daeae41c..3d1add25dc 100644 --- a/lib/routemap.c +++ b/lib/routemap.c @@ -1232,9 +1232,8 @@ int route_map_delete_match(struct route_map_index *index, return 1; for (rule = index->match_list.head; rule; rule = rule->next) - if (rule->cmd == cmd - && (rulecmp(rule->rule_str, match_arg) == 0 - || match_arg == NULL)) { + if (rule->cmd == cmd && (rulecmp(rule->rule_str, match_arg) == 0 + || match_arg == NULL)) { route_map_rule_delete(&index->match_list, rule); /* Execute event hook. */ if (route_map_master.event_hook) { @@ -1320,9 +1319,8 @@ int route_map_delete_set(struct route_map_index *index, const char *set_name, return 1; for (rule = index->set_list.head; rule; rule = rule->next) - if ((rule->cmd == cmd) - && (rulecmp(rule->rule_str, set_arg) == 0 - || set_arg == NULL)) { + if ((rule->cmd == cmd) && (rulecmp(rule->rule_str, set_arg) == 0 + || set_arg == NULL)) { route_map_rule_delete(&index->set_list, rule); /* Execute event hook. */ if (route_map_master.event_hook) { |
