diff options
author | Donald Sharp <sharpd@nvidia.com> | 2023-04-05 21:25:57 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@nvidia.com> | 2023-04-06 23:41:32 +0200 |
commit | aa056a2a6481aba66c727794d0ee988724be9316 (patch) | |
tree | 15a413efc55f5103fa633ffc77acd1b31d7d6c38 /bgpd/bgp_packet.h | |
parent | bgpd: Limit flowspec to no attribute means a implicit withdrawal (diff) | |
download | frr-aa056a2a6481aba66c727794d0ee988724be9316.tar.xz frr-aa056a2a6481aba66c727794d0ee988724be9316.zip |
bgpd: Treat withdraw variable as a bool
Used as a bool, treated as a bool. Make it a bool
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'bgpd/bgp_packet.h')
-rw-r--r-- | bgpd/bgp_packet.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_packet.h b/bgpd/bgp_packet.h index 7a18d17e4..04bdb8184 100644 --- a/bgpd/bgp_packet.h +++ b/bgpd/bgp_packet.h @@ -59,7 +59,7 @@ extern void bgp_capability_send(struct peer *peer, afi_t afi, safi_t safi, extern int bgp_capability_receive(struct peer *peer, bgp_size_t length); extern int bgp_nlri_parse(struct peer *peer, struct attr *attr, - struct bgp_nlri *nlri, int mp_withdraw); + struct bgp_nlri *nlri, bool mp_withdraw); extern void bgp_update_restarted_peers(struct peer *peer); extern void bgp_update_implicit_eors(struct peer *peer); |