diff options
| author | Jesse <[email protected]> | 2020-12-03 08:56:10 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-12-02 15:56:10 -0800 |
| commit | 802b74f21520695f1b6e04fc42580e12cc76b278 (patch) | |
| tree | 285378a8ea15668a66fedf8b1a02b80c1b1a44b4 /network | |
| parent | 28f8fc7638b9149e05a7b15ec11cc08f9e6d7e86 (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')
| -rw-r--r-- | network/trans/ddproxy/sys/DD_proxy.c | 2 |
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 |
