diff options
author | Florin Coras <fcoras@cisco.com> | 2019-04-02 11:38:51 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-04-02 21:12:56 +0000 |
commit | 69b68ef1a98ab45becb585f8906acc19b9665e6d (patch) | |
tree | 1b4d22c5baeea4e2ff9bee64bf39d1b282d45c2e /src/vnet/session/session_cli.c | |
parent | f6adf1f8dbbdfb2822c391d7d1b132d2846bf004 (diff) |
session: use app cb function wrappers
Change-Id: I77ad9eb4d4c7699397aa4be6a973ef37c60db4c5
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_cli.c')
-rwxr-xr-x | src/vnet/session/session_cli.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c index d8e504e5fb3..5179322049d 100755 --- a/src/vnet/session/session_cli.c +++ b/src/vnet/session/session_cli.c @@ -362,8 +362,7 @@ static int clear_session (session_t * s) { app_worker_t *server_wrk = app_worker_get (s->app_wrk_index); - application_t *server = application_get (server_wrk->app_index); - server->cb_fns.session_disconnect_callback (s); + app_worker_close_notify (server_wrk, s); return 0; } |