summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorahdj007 <dong.juan1@zte.com.cn>2018-03-06 16:15:44 +0800
committerDamjan Marion <dmarion.lists@gmail.com>2018-03-14 18:44:55 +0000
commitdadcc849136b6a0bcd9eb8c100695aba139b2831 (patch)
treeb30dc184807cf34e79b17ae065fdce4b1db7b774 /src/plugins
parent648ae391b6725445b4bf57715b7917950dc29011 (diff)
when lb tcp in2out flow,
in2out and out2in protocol are not same Change-Id: I4ce680ad1f088cb079e1f2aeb15ca59225fca0d1 Signed-off-by: ahdj007 <dong.juan1@zte.com.cn> (cherry picked from commit 9691cf2d082727fb2f88e85050068dc6fd761bcd)
Diffstat (limited to 'src/plugins')
-rwxr-xr-xsrc/plugins/nat/in2out.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/nat/in2out.c b/src/plugins/nat/in2out.c
index 8af7df25b7d..0792ea02b05 100755
--- a/src/plugins/nat/in2out.c
+++ b/src/plugins/nat/in2out.c
@@ -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 */