when lb tcp in2out flow, 58/11058/3
authorahdj007 <[email protected]>
Tue, 6 Mar 2018 08:15:44 +0000 (16:15 +0800)
committerDamjan Marion <[email protected]>
Wed, 14 Mar 2018 18:44:55 +0000 (18:44 +0000)
in2out and out2in protocol are not same

Change-Id: I4ce680ad1f088cb079e1f2aeb15ca59225fca0d1
Signed-off-by: ahdj007 <[email protected]>
(cherry picked from commit 9691cf2d082727fb2f88e85050068dc6fd761bcd)

src/plugins/nat/in2out.c

index 8af7df2..0792ea0 100755 (executable)
@@ -1322,6 +1322,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 */