summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr.c
diff options
context:
space:
mode:
authorvivek <vivek@cumulusnetworks.com>2018-03-04 07:56:19 +0100
committervivek <vivek@cumulusnetworks.com>2018-03-04 07:56:19 +0100
commit052ea98b431598466e939575df2992b483524587 (patch)
tree74781b6449449049148bd2d420628ed161defc8d /bgpd/bgp_attr.c
parentbgpd: Parse PMSI Tunnel Attribute and display (diff)
downloadfrr-052ea98b431598466e939575df2992b483524587.tar.xz
frr-052ea98b431598466e939575df2992b483524587.zip
bgpd: Fix warnings
Signed-off-by: Vivek Venkatraman <vivek@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_attr.c')
-rw-r--r--bgpd/bgp_attr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index 56303a3df..73256046f 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -2143,10 +2143,10 @@ bgp_attr_pmsi_tunnel(struct bgp_attr_parser_args *args)
if (tnl_type == PMSI_TNLTYPE_INGR_REPL) {
if (length != 9) {
zlog_err("Bad PMSI tunnel attribute length %d for IR",
- length);
- return bgp_attr_malformed(args,
- BGP_NOTIFY_UPDATE_ATTR_LENG_ERR,
- args->total);
+ length);
+ return bgp_attr_malformed(
+ args, BGP_NOTIFY_UPDATE_ATTR_LENG_ERR,
+ args->total);
}
}