diff options
Diffstat (limited to 'bgpd/bgp_updgrp_packet.c')
-rw-r--r-- | bgpd/bgp_updgrp_packet.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bgpd/bgp_updgrp_packet.c b/bgpd/bgp_updgrp_packet.c index 1d50cb1ca..8ba7902a5 100644 --- a/bgpd/bgp_updgrp_packet.c +++ b/bgpd/bgp_updgrp_packet.c @@ -396,7 +396,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)) { - u_int8_t nhlen; + uint8_t nhlen; afi_t nhafi = AFI_MAX; /* NH AFI is based on nhlen! */ int route_map_sets_nh; nhlen = stream_getc_from(s, vec->offset); @@ -699,10 +699,10 @@ struct bpacket *subgroup_update_packet(struct update_subgroup *subgrp) int num_pfx = 0; int addpath_encode = 0; int addpath_overhead = 0; - u_int32_t addpath_tx_id = 0; + uint32_t addpath_tx_id = 0; struct prefix_rd *prd = NULL; mpls_label_t label = MPLS_INVALID_LABEL, *label_pnt = NULL; - u_int32_t num_labels = 0; + uint32_t num_labels = 0; if (!subgrp) return NULL; @@ -937,7 +937,7 @@ struct bpacket *subgroup_withdraw_packet(struct update_subgroup *subgrp) size_t mp_start = 0; size_t attrlen_pos = 0; size_t mplen_pos = 0; - u_char first_time = 1; + uint8_t first_time = 1; afi_t afi; safi_t safi; int space_remaining = 0; @@ -945,7 +945,7 @@ struct bpacket *subgroup_withdraw_packet(struct update_subgroup *subgrp) int num_pfx = 0; int addpath_encode = 0; int addpath_overhead = 0; - u_int32_t addpath_tx_id = 0; + uint32_t addpath_tx_id = 0; struct prefix_rd *prd = NULL; |