diff options
author | Florin Coras <fcoras@cisco.com> | 2019-03-18 09:06:35 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2019-03-18 22:07:37 +0000 |
commit | d5c604d6872bdb5576a900d51b96f2e6736b63a5 (patch) | |
tree | c4237b278cebc4603e8cfc7efeeeeebd28709ba2 /src/vnet/session/application.c | |
parent | 1ee346a0a61b454a1ce879f97cb9c06267d1e107 (diff) |
session: add session flags
- use flag instead of enqueue_epoch for enqueueing rx events.
- use flag for proxy sessions
Change-Id: Iec3eee55a68d02536ece6329348a3369c7c7412e
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application.c')
-rw-r--r-- | src/vnet/session/application.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c index f6fcc4f85b7..91e800d1dc8 100644 --- a/src/vnet/session/application.c +++ b/src/vnet/session/application.c @@ -1207,7 +1207,7 @@ application_start_stop_proxy_fib_proto (application_t * app, u8 fib_proto, app_worker_start_listen (app_wrk, al); s = listen_session_get (al->session_index); - s->enqueue_epoch = SESSION_PROXY_LISTENER_INDEX; + s->flags |= SESSION_F_PROXY; } } else |