Unbreak natd.
Reported and submitted by: Sean McNeil (sean at mcneil.com)
This commit is contained in:
parent
67de8ecbf8
commit
ab39bc9a92
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=127757
@ -884,6 +884,7 @@ TcpAliasIn(struct libalias *la, struct ip *pip)
|
||||
|
||||
/* Restore original IP address */
|
||||
accumulate = twowords(&pip->ip_dst);
|
||||
pip->ip_dst = original_address;
|
||||
accumulate -= twowords(&pip->ip_dst);
|
||||
|
||||
/* If this is a transparent proxy packet, then modify the source
|
||||
|
@ -884,6 +884,7 @@ TcpAliasIn(struct libalias *la, struct ip *pip)
|
||||
|
||||
/* Restore original IP address */
|
||||
accumulate = twowords(&pip->ip_dst);
|
||||
pip->ip_dst = original_address;
|
||||
accumulate -= twowords(&pip->ip_dst);
|
||||
|
||||
/* If this is a transparent proxy packet, then modify the source
|
||||
|
Loading…
Reference in New Issue
Block a user