]> git.puffer.fish Git - mirror/frr.git/commit
lib: fix processing of notifications on mgmt fe client 15421/head
authorIgor Ryzhov <iryzhov@nfware.com>
Fri, 23 Feb 2024 16:53:46 +0000 (18:53 +0200)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 23 Feb 2024 16:53:46 +0000 (18:53 +0200)
commit13359c5cc9b8fd84c62b30443e063d96e9a73034
treea320c58fb1dd6592e0676d246d687c05cbdaec5a
parenteae228c52d4256542ab94038be263a29dbffa4ce
lib: fix processing of notifications on mgmt fe client

Notifications are sent by mgmtd for each session of a client, so they
should be processed once per each session.

Also, add session_id parameter to an async_notification callback as all
other callbacks have this parameter.

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
lib/mgmt_fe_client.c
lib/mgmt_fe_client.h