From b00383eacf8811759443c976905d2e3b8dff64a8 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Fri, 17 Feb 2017 18:13:05 +0000 Subject: [PATCH] bgpd: remove unnecessary parens in compare For clean build under latest clang Signed-off-by: Quentin Young --- bgpd/bgp_attr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c index 929a9fb4ad..153187fd43 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -2872,7 +2872,7 @@ bgp_packet_mpattr_prefix (struct stream *s, afi_t afi, safi_t safi, stream_put (s, prd->val, 8); stream_put (s, &p->u.prefix, PSIZE (p->prefixlen)); } - else if ((safi == SAFI_EVPN)) + else if (safi == SAFI_EVPN) { bgp_packet_mpattr_route_type_5(s, p, prd, tag, attr); } -- 2.39.5