cnat: Fix typo in ts handling 26/28626/2
authorNathan Skrzypczak <nathan.skrzypczak@gmail.com>
Tue, 1 Sep 2020 07:27:55 +0000 (09:27 +0200)
committerDave Barach <openvpp@barachs.net>
Tue, 1 Sep 2020 11:18:23 +0000 (11:18 +0000)
Type: fix

Change-Id: I5287f6326726780c09e515eede0992bafb413bb2
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
src/plugins/cnat/cnat_types.h

index 8659aa5..d81548d 100644 (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;