diff options
author | paco <paco@voltanet.io> | 2018-06-20 17:15:37 +0200 |
---|---|---|
committer | paco <paco@voltanet.io> | 2018-06-20 22:25:28 +0200 |
commit | a2b6e694b17303f3faf2db29254b5ea4a4ae14b1 (patch) | |
tree | ce3de528becaedc5611f3b17235e915a3f5fef64 /bgpd/bgp_updgrp_packet.c | |
parent | Merge pull request #2459 from pacovn/Coverity_1469898_Uninitialized_scalar_va... (diff) | |
download | frr-a2b6e694b17303f3faf2db29254b5ea4a4ae14b1.tar.xz frr-a2b6e694b17303f3faf2db29254b5ea4a4ae14b1.zip |
bgpd isisd ldpd lib ospfd pimd: redundancy (infer)
Signed-off-by: F. Aragon <paco@voltanet.io>
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
-rw-r--r-- | bgpd/bgp_updgrp_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index cabd5b5cb..34ddbfcd1 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -397,7 +397,7 @@ struct stream *bpacket_reformat_for_peer(struct bpacket *pkt, vec = &pkt->arr.entries[BGP_ATTR_VEC_NH]; if (CHECK_FLAG(vec->flags, BPKT_ATTRVEC_FLAGS_UPDATED)) { uint8_t nhlen; - afi_t nhafi = AFI_MAX; /* NH AFI is based on nhlen! */ + afi_t nhafi; int route_map_sets_nh; nhlen = stream_getc_from(s, vec->offset); if (peer_cap_enhe(peer, paf->afi, paf->safi)) |