diff options
| author | Russ White <russ@riw.us> | 2023-04-11 09:49:01 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-04-11 09:49:01 -0400 | 
| commit | f26a87cd247c6ece48ef843476afc3b44e6ce5d1 (patch) | |
| tree | 20a46d79a9b32b8447fc481d3747c637036a3934 /isisd/fabricd.c | |
| parent | e80c797a1f8f98c129a9605a174d451356dde008 (diff) | |
| parent | 5d39a8190740b2b54de3b4d7e1527901bcbc2a33 (diff) | |
Merge pull request #12698 from Orange-OpenSource/isisd
Isisd/Lib: Add new printfrr format facility for Intermediate System ID
Diffstat (limited to 'isisd/fabricd.c')
| -rw-r--r-- | isisd/fabricd.c | 13 | 
1 files changed, 8 insertions, 5 deletions
diff --git a/isisd/fabricd.c b/isisd/fabricd.c index 4fd39498a0..0be36e175a 100644 --- a/isisd/fabricd.c +++ b/isisd/fabricd.c @@ -273,8 +273,8 @@ void fabricd_initial_sync_hello(struct isis_circuit *circuit)  	if (IS_DEBUG_ADJ_PACKETS)  		zlog_debug( -			"OpenFabric: Started initial synchronization with %s on %s", -			sysid_print(circuit->u.p2p.neighbor->sysid), +			"OpenFabric: Started initial synchronization with %pSY on %s", +			circuit->u.p2p.neighbor->sysid,  			circuit->interface->name);  } @@ -359,7 +359,9 @@ static uint8_t fabricd_calculate_fabric_tier(struct isis_area *area)  		return ISIS_TIER_UNDEFINED;  	} -	zlog_info("OpenFabric: Found %s as furthest t0 from local system, dist == %u", rawlspid_print(furthest_t0->N.id), furthest_t0->d_N); +	zlog_info( +		"OpenFabric: Found %pLS as furthest t0 from local system, dist == %u", +		furthest_t0->N.id, furthest_t0->d_N);  	struct isis_spftree *remote_tree =  		isis_run_hopcount_spf(area, furthest_t0->N.id, NULL); @@ -372,8 +374,9 @@ static uint8_t fabricd_calculate_fabric_tier(struct isis_area *area)  		isis_spftree_del(remote_tree);  		return ISIS_TIER_UNDEFINED;  	} else { -		zlog_info("OpenFabric: Found %s as furthest from remote dist == %u", rawlspid_print(furthest_from_remote->N.id), -			  furthest_from_remote->d_N); +		zlog_info( +			"OpenFabric: Found %pLS as furthest from remote dist == %u", +			furthest_from_remote->N.id, furthest_from_remote->d_N);  	}  	int64_t tier = furthest_from_remote->d_N - furthest_t0->d_N;  | 
