diff options
Diffstat (limited to 'src/plugins/hsi')
-rw-r--r-- | src/plugins/hsi/hsi.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/plugins/hsi/hsi.c b/src/plugins/hsi/hsi.c index bfdb3a07fc2..9382a94de56 100644 --- a/src/plugins/hsi/hsi.c +++ b/src/plugins/hsi/hsi.c @@ -85,13 +85,7 @@ hsi_udp_lookup (vlib_buffer_t *b, void *ip_hdr, u8 is_ip4) hdr->dst_port, hdr->src_port, TRANSPORT_PROTO_UDP); } - if (s) - { - session_pool_remove_peeker (s->thread_index); - return 1; - } - - return 0; + return s ? 1 : 0; } always_inline transport_connection_t * |