@@ -343,6 +343,7 @@ static unsigned int updgrp_hash_key_make(const void *p)
343
343
key = 0 ;
344
344
345
345
key = jhash_1word (peer -> sort , key ); /* EBGP or IBGP */
346
+ key = jhash_1word (peer -> sub_sort , key ); /* OAD */
346
347
key = jhash_1word ((peer -> flags & PEER_UPDGRP_FLAGS ), key );
347
348
key = jhash_1word ((flags & PEER_UPDGRP_AF_FLAGS ), key );
348
349
key = jhash_1word ((uint32_t )peer -> addpath_type [afi ][safi ], key );
@@ -448,11 +449,10 @@ static unsigned int updgrp_hash_key_make(const void *p)
448
449
* STATEMENT STAYS UP TO DATE
449
450
*/
450
451
if (bgp_debug_neighbor_events (peer )) {
451
- zlog_debug (
452
- "%pBP Update Group Hash: sort: %d UpdGrpFlags: %ju UpdGrpAFFlags: %ju" ,
453
- peer , peer -> sort ,
454
- (intmax_t )CHECK_FLAG (peer -> flags , PEER_UPDGRP_FLAGS ),
455
- (intmax_t )CHECK_FLAG (flags , PEER_UPDGRP_AF_FLAGS ));
452
+ zlog_debug ("%pBP Update Group Hash: sort: %d sub_sort: %d UpdGrpFlags: %ju UpdGrpAFFlags: %ju" ,
453
+ peer , peer -> sort , peer -> sub_sort ,
454
+ (intmax_t )CHECK_FLAG (peer -> flags , PEER_UPDGRP_FLAGS ),
455
+ (intmax_t )CHECK_FLAG (flags , PEER_UPDGRP_AF_FLAGS ));
456
456
zlog_debug (
457
457
"%pBP Update Group Hash: addpath: %u UpdGrpCapFlag: %u UpdGrpCapAFFlag: %u route_adv: %u change local as: %u, as_path_loop_detection: %d" ,
458
458
peer , (uint32_t )peer -> addpath_type [afi ][safi ],
0 commit comments