summaryrefslogtreecommitdiff
path: root/lib/routemap.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-04 15:04:23 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2020-03-04 15:04:23 +0200
commita8f58eb6a5e04aeb8600467026b55c86d2f971da (patch)
tree10136a824eb9df5cecb9600a236f5873c7d78420 /lib/routemap.c
parent17fe9bb6e5e66b004d6f52be00655f7c8ddca5a1 (diff)
*: Use short version of bool expressions
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/routemap.c')
-rw-r--r--lib/routemap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/routemap.c b/lib/routemap.c
index 64677e8863..f3860924dd 100644
--- a/lib/routemap.c
+++ b/lib/routemap.c
@@ -2447,7 +2447,7 @@ route_map_result_t route_map_apply(struct route_map *map,
}
for (; index; index = index->next) {
- if (skip_match_clause == false) {
+ if (!skip_match_clause) {
/* Apply this index. */
match_ret = route_map_apply_match(&index->match_list,
prefix, type, object);