From: ahdj007 Date: Tue, 6 Mar 2018 08:15:44 +0000 (+0800) Subject: when lb tcp in2out flow, X-Git-Tag: v18.04-rc1~190 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F68%2F10968%2F2;p=vpp.git when lb tcp in2out flow, in2out and out2in protocol are not same Change-Id: I4ce680ad1f088cb079e1f2aeb15ca59225fca0d1 Signed-off-by: ahdj007 --- diff --git a/src/plugins/nat/in2out.c b/src/plugins/nat/in2out.c index 24895a0fb11..f009ce47d78 100755 --- a/src/plugins/nat/in2out.c +++ b/src/plugins/nat/in2out.c @@ -1372,6 +1372,7 @@ snat_in2out_lb (snat_main_t *sm, s->outside_address_index = ~0; s->in2out = l_key; s->out2in = e_key; + s->out2in.protocol = l_key.protocol; u->nstaticsessions++; /* Add to lookup tables */