From debdac3fbdf0a43bd8a6cea1ca97e6fe69fa18fc Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Mon, 28 Mar 2022 11:08:33 +0300 Subject: [PATCH] bgpd: Fix mixed print types for BGP_PREFIX_SID_SRV6_L3_SERVICE_SID_STRUCTURE_LENGTH Signed-off-by: Donatas Abraitis --- 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 d361e31efe..6c472e1497 100644 --- a/bgpd/bgp_attr.c +++ b/bgpd/bgp_attr.c @@ -2577,7 +2577,7 @@ bgp_attr_srv6_service_data(struct bgp_attr_parser_args *args) if (length < BGP_PREFIX_SID_SRV6_L3_SERVICE_SID_STRUCTURE_LENGTH) { flog_err( EC_BGP_ATTR_LEN, - "Malformed SRv6 Service Data Sub-Sub-TLV attribute - insufficient data (need %hu, have %u remaining in UPDATE)", + "Malformed SRv6 Service Data Sub-Sub-TLV attribute - insufficient data (need %u, have %hu remaining in UPDATE)", BGP_PREFIX_SID_SRV6_L3_SERVICE_SID_STRUCTURE_LENGTH, length); return bgp_attr_malformed(args, BGP_NOTIFY_UPDATE_ATTR_LENG_ERR, -- 2.39.5