diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 5146862e33..84037675ec 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -9847,7 +9847,6 @@ void route_vty_out_detail(struct vty *vty, struct bgp *bgp, struct bgp_dest *bn, char buf[INET6_ADDRSTRLEN]; char buf1[BUFSIZ]; struct attr *attr = path->attr; - int sockunion_vty_out(struct vty *, union sockunion *); time_t tbuf; json_object *json_bestpath = NULL; json_object *json_cluster_list = NULL; diff --git a/bgpd/bgpd.h b/bgpd/bgpd.h index bf26bdc5b0..98e59bcc85 100644 --- a/bgpd/bgpd.h +++ b/bgpd/bgpd.h @@ -1637,7 +1637,7 @@ struct peer { * a new value to the last_reset reason */ - size_t last_reset_cause_size; + uint16_t last_reset_cause_size; uint8_t last_reset_cause[BGP_MAX_PACKET_SIZE]; /* The kind of route-map Flags.*/