aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>2020-09-01 09:27:55 +0200
committerDave Barach <openvpp@barachs.net>2020-09-01 11:18:23 +0000
commit369e4e56e228f5ec5c4eb487620d713ac25ce015 (patch)
tree08c64fa4194d2ef1242bddf3ae1f5542f0ca76dd
parent9a79a1ab931c3b5a7ae07d6f0fcfef7c4368a2c4 (diff)
cnat: Fix typo in ts handling
Type: fix Change-Id: I5287f6326726780c09e515eede0992bafb413bb2 Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
-rw-r--r--src/plugins/cnat/cnat_types.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/cnat/cnat_types.h b/src/plugins/cnat/cnat_types.h
index 8659aa5e9fd..d81548d0c30 100644
--- a/src/plugins/cnat/cnat_types.h
+++ b/src/plugins/cnat/cnat_types.h
@@ -198,7 +198,6 @@ cnat_timestamp_inc_refcnt (u32 index)
always_inline void
cnat_timestamp_update (u32 index, f64 t)
{
- return;
clib_rwlock_reader_lock (&cnat_main.ts_lock);
cnat_timestamp_t *ts = pool_elt_at_index (cnat_timestamps, index);
ts->last_seen = t;