mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
Merge pull request #11389 from ton31337/fix/some_codeql_fixes
bgpd: Minor warning fixes
This commit is contained in:
commit
d0911c6bdd
@ -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;
|
||||
|
@ -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.*/
|
||||
|
Loading…
Reference in New Issue
Block a user