mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 21:23:06 +00:00
bgpd: Use explicit data types for graceful_restart_af struct
afi/safi comes as integers, but we should decode them as uint16/uint8 accordingly. Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
This commit is contained in:
parent
00b365d67f
commit
1c70a617f8
@ -20,8 +20,8 @@ struct capability_mp_data {
|
|||||||
};
|
};
|
||||||
|
|
||||||
struct graceful_restart_af {
|
struct graceful_restart_af {
|
||||||
afi_t afi;
|
uint16_t afi;
|
||||||
safi_t safi;
|
uint8_t safi;
|
||||||
uint8_t flag;
|
uint8_t flag;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user