summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_attr.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-06-21 23:24:19 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-21 23:24:19 +0200
commitf4cafc65a35b7c40195d6d519159342b8bd2e941 (patch)
tree867da5262aa70751b696ce2df8f3ca3218a25d9d /bgpd/bgp_attr.c
parentzebra: Add iface index to RA message count increment failure msg (diff)
downloadfrr-f4cafc65a35b7c40195d6d519159342b8bd2e941.tar.xz
frr-f4cafc65a35b7c40195d6d519159342b8bd2e941.zip
bgpd: Fix another clang warning
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_attr.c')
-rw-r--r--bgpd/bgp_attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_attr.c b/bgpd/bgp_attr.c
index ef1d02eca..eefdd9e8e 100644
--- a/bgpd/bgp_attr.c
+++ b/bgpd/bgp_attr.c
@@ -1947,7 +1947,7 @@ bgp_attr_encap(
while (length >= 4) {
uint16_t subtype;
- uint16_t sublength;
+ uint16_t sublength = 0;
struct bgp_attr_encap_subtlv *tlv;
if (BGP_ATTR_ENCAP == type) {