diff options
Diffstat (limited to 'zebra/zserv.h')
-rw-r--r-- | zebra/zserv.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zserv.h b/zebra/zserv.h index 77ea19202..6a075cc9a 100644 --- a/zebra/zserv.h +++ b/zebra/zserv.h @@ -229,6 +229,10 @@ struct zserv { DECLARE_HOOK(zserv_client_connect, (struct zserv *client), (client)); DECLARE_KOOH(zserv_client_close, (struct zserv *client), (client)); +#define DYNAMIC_CLIENT_GR_DISABLED(_client) \ + ((_client->proto <= ZEBRA_ROUTE_CONNECT) \ + || !(_client->gr_instance_count)) + /* * Initialize Zebra API server. * |