X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fplugins%2Fcnat%2Fcnat_types.h;h=84fb7d0b3c30e6271e1b9e1bacacdd10d647337d;hb=663103279;hp=bf2726fa63a86f3938bbd05af39fbad71cc65e26;hpb=cad2111129b57c9c14f5c6bc645286fdc5bf4a3c;p=vpp.git diff --git a/src/plugins/cnat/cnat_types.h b/src/plugins/cnat/cnat_types.h index bf2726fa63a..84fb7d0b3c3 100644 --- a/src/plugins/cnat/cnat_types.h +++ b/src/plugins/cnat/cnat_types.h @@ -50,8 +50,10 @@ * from fib_source.h */ #define CNAT_FIB_SOURCE_PRIORITY 0x02 -/* Initial refcnt for timestamps (2 : session & rsession) */ -#define CNAT_TIMESTAMP_INIT_REFCNT 2 +/* Initial number of timestamps for a session + * this will be incremented when adding the reverse + * session in cnat_rsession_create */ +#define CNAT_TIMESTAMP_INIT_REFCNT 1 #define MIN_SRC_PORT ((u16) 0xC000)