cnat: Fix typo in ts handling

Type: fix

Change-Id: I5287f6326726780c09e515eede0992bafb413bb2
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
This commit is contained in:
Nathan Skrzypczak
2020-09-01 09:27:55 +02:00
committed by Dave Barach
parent 9a79a1ab93
commit 369e4e56e2
-1
View File
@@ -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;