mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-02 18:56:53 +00:00
Merge pull request #11569 from opensourcerouting/gcc-plugin-shortcomings-220708
bgpd: work around GCC/plugin shortcomings
This commit is contained in:
commit
42e172499d
@ -421,10 +421,9 @@ static unsigned int updgrp_hash_key_make(const void *p)
|
||||
|
||||
if (bgp_debug_neighbor_events(peer)) {
|
||||
zlog_debug(
|
||||
"%pBP Update Group Hash: sort: %d UpdGrpFlags: %" PRIu64
|
||||
" UpdGrpAFFlags: %u",
|
||||
"%pBP Update Group Hash: sort: %d UpdGrpFlags: %ju UpdGrpAFFlags: %u",
|
||||
peer, peer->sort,
|
||||
(uint64_t)(peer->flags & PEER_UPDGRP_FLAGS),
|
||||
(intmax_t)(peer->flags & PEER_UPDGRP_FLAGS),
|
||||
flags & PEER_UPDGRP_AF_FLAGS);
|
||||
zlog_debug(
|
||||
"%pBP Update Group Hash: addpath: %u UpdGrpCapFlag: %u UpdGrpCapAFFlag: %u route_adv: %u change local as: %u",
|
||||
@ -464,10 +463,8 @@ static unsigned int updgrp_hash_key_make(const void *p)
|
||||
peer->shared_network &&
|
||||
peer_afi_active_nego(peer, AFI_IP6));
|
||||
zlog_debug(
|
||||
"%pBP Update Group Hash: Lonesoul: %" PRIu64
|
||||
" ORF prefix: %u ORF old: %u max prefix out: %u",
|
||||
peer,
|
||||
(uint64_t)CHECK_FLAG(peer->flags, PEER_FLAG_LONESOUL),
|
||||
"%pBP Update Group Hash: Lonesoul: %d ORF prefix: %u ORF old: %u max prefix out: %u",
|
||||
peer, !!CHECK_FLAG(peer->flags, PEER_FLAG_LONESOUL),
|
||||
CHECK_FLAG(peer->af_cap[afi][safi],
|
||||
PEER_CAP_ORF_PREFIX_SM_RCV),
|
||||
CHECK_FLAG(peer->af_cap[afi][safi],
|
||||
|
Loading…
Reference in New Issue
Block a user