summaryrefslogtreecommitdiff
path: root/network/trans/ddproxy
diff options
context:
space:
mode:
authorJesse <[email protected]>2020-12-03 08:56:10 +0900
committerGitHub <[email protected]>2020-12-02 15:56:10 -0800
commit802b74f21520695f1b6e04fc42580e12cc76b278 (patch)
tree285378a8ea15668a66fedf8b1a02b80c1b1a44b4 /network/trans/ddproxy
parent28f8fc7638b9149e05a7b15ec11cc08f9e6d7e86 (diff)
Fix UDP inbound reinject scenario (#551)243329
Modify the inbound NBL's UDP port # to that of the original outbound traffic, in order to meet the inbound filter conditions
Diffstat (limited to 'network/trans/ddproxy')
-rw-r--r--network/trans/ddproxy/sys/DD_proxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/trans/ddproxy/sys/DD_proxy.c b/network/trans/ddproxy/sys/DD_proxy.c
index a75e2cf9..a5901908 100644
--- a/network/trans/ddproxy/sys/DD_proxy.c
+++ b/network/trans/ddproxy/sys/DD_proxy.c
@@ -833,7 +833,7 @@ DDProxyCloneModifyReinjectInbound(
// is contiguous and 2-byte aligned.
_Analysis_assume_(udpHeader != NULL);
- udpHeader->destPort =
+ udpHeader->srcPort =
packet->belongingFlow->toRemotePort;
// This is our new source port -- or
// the destination port of the original