aboutsummaryrefslogtreecommitdiffstats
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-06 15:19:11 +0000
commit9691cf2d082727fb2f88e85050068dc6fd761bcd (patch)
treee47eab1dd0a18ed0f7e5f86613a90c59940310ed
parent9f06d0eccf06b82b42cc55f02c37cbed9e1aab83 (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>
-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 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 */