when lb tcp in2out flow, 68/10968/2
authorahdj007 <dong.juan1@zte.com.cn>
Tue, 6 Mar 2018 08:15:44 +0000 (16:15 +0800)
committerDamjan Marion <dmarion.lists@gmail.com>
Tue, 6 Mar 2018 15:19:11 +0000 (15:19 +0000)
in2out and out2in protocol are not same

Change-Id: I4ce680ad1f088cb079e1f2aeb15ca59225fca0d1
Signed-off-by: ahdj007 <dong.juan1@zte.com.cn>
src/plugins/nat/in2out.c

index 24895a0..f009ce4 100755 (executable)
@@ -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 */