summaryrefslogtreecommitdiff
path: root/bgpd/bgp_flowspec_util.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2020-11-18 19:13:47 +0300
committerIgor Ryzhov <iryzhov@nfware.com>2020-11-18 19:14:03 +0300
commit65f18319c07428fce8d84d09db86e32a950bd8ab (patch)
tree2c05d9a1b40dc47de2276199004ee7159d1ca196 /bgpd/bgp_flowspec_util.c
parent55b2b5ab9975d0e63467d87305d22a0a8ad69657 (diff)
lib: fix macro style
We prefer semicolon in the actual code instead of macro elsewhere in the code. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'bgpd/bgp_flowspec_util.c')
-rw-r--r--bgpd/bgp_flowspec_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_flowspec_util.c b/bgpd/bgp_flowspec_util.c
index 55e7973f81..15b891f25a 100644
--- a/bgpd/bgp_flowspec_util.c
+++ b/bgpd/bgp_flowspec_util.c
@@ -229,9 +229,9 @@ int bgp_flowspec_ip_address(enum bgp_flowspec_util_nlri_t type,
case BGP_FLOWSPEC_CONVERT_TO_NON_OPAQUE:
if (prefix) {
if (prefix_local.family == AF_INET)
- PREFIX_COPY_IPV4(prefix, &prefix_local)
+ PREFIX_COPY_IPV4(prefix, &prefix_local);
else
- PREFIX_COPY_IPV6(prefix, &prefix_local)
+ PREFIX_COPY_IPV6(prefix, &prefix_local);
}
break;
case BGP_FLOWSPEC_VALIDATE_ONLY: