diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2023-03-24 15:43:21 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2023-03-29 15:40:13 -0400 | 
| commit | 0f5ef7f9b197f0a9fec86ec15885e06e843fd539 (patch) | |
| tree | 64792191c934e8fa55df5b4b3b55ea72c651860c /zebra/zserv.h | |
| parent | 096abfb8154b8a7038722a1b4d1aef972f19503a (diff) | |
zebra: zebra GR only works with AFI's limit it
We have code that tracks both afi and safi's,
but we only ever operate on the afi's.  So lets
limit our work being done to something more sensible.
I'm leaving the safi being broadcast through the zapi
message, as that I am not sure what else should be ripped
out at this point in time.
Finally re-arrange the zread_client_capabilites function
to stop the multiple levels of function calling that really
serve no purpose.
Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zserv.h')
| -rw-r--r-- | zebra/zserv.h | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index 9da6861211..b62c76ba6c 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -64,8 +64,8 @@ struct client_gr_info {  	bool stale_client;  	/* Route sync and enable flags for AFI/SAFI */ -	bool af_enabled[AFI_MAX][SAFI_MAX]; -	bool route_sync[AFI_MAX][SAFI_MAX]; +	bool af_enabled[AFI_MAX]; +	bool route_sync[AFI_MAX];  	/* Book keeping */  	void *stale_client_ptr;  | 
