summaryrefslogtreecommitdiff
path: root/lib/plist.c
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-03-06 14:02:52 -0500
committerLou Berger <lberger@labn.net>2018-03-06 14:04:32 -0500
commit996c93142d3abfab0f6d6c800474e22a8cfbdbc5 (patch)
tree2b28846d256c84cf7b7f1a8988fb3267c8611722 /lib/plist.c
parent3380418fa10556ef2c9139d09b9a435db64dc392 (diff)
*: conform with COMMUNITY.md formatting rules, via 'make indent'
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'lib/plist.c')
-rw-r--r--lib/plist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/plist.c b/lib/plist.c
index a95749cf0e..9dd5e561a7 100644
--- a/lib/plist.c
+++ b/lib/plist.c
@@ -1230,8 +1230,8 @@ static int vty_show_prefix_list_prefix(struct vty *vty, afi_t afi,
match = 1;
if (type == longer_display) {
- if ((p.family == pentry->prefix.family) &&
- (prefix_match(&p, &pentry->prefix)))
+ if ((p.family == pentry->prefix.family)
+ && (prefix_match(&p, &pentry->prefix)))
match = 1;
}
@@ -1310,8 +1310,8 @@ static int vty_clear_prefix_list(struct vty *vty, afi_t afi, const char *name,
for (pentry = plist->head; pentry; pentry = pentry->next) {
if (prefix) {
- if (pentry->prefix.family == p.family &&
- prefix_match(&pentry->prefix, &p))
+ if (pentry->prefix.family == p.family
+ && prefix_match(&pentry->prefix, &p))
pentry->hitcnt = 0;
} else
pentry->hitcnt = 0;