When an incoming packet is received that is not specifically

redirected and when no target address has been specified, NAT
the destination address to the alias address rather than
allowing people direct access to your internal network from
outside.
This commit is contained in:
Brian Somers 2000-03-31 14:03:37 +00:00
parent 4e008b7f9b
commit 1c4e6d2544
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58866
2 changed files with 2 additions and 2 deletions

View File

@ -1458,7 +1458,7 @@ FindOriginalAddress(struct in_addr alias_addr)
if (targetAddress.s_addr != 0)
return targetAddress;
else
return alias_addr;
return aliasAddress;
}
else
{

View File

@ -1458,7 +1458,7 @@ FindOriginalAddress(struct in_addr alias_addr)
if (targetAddress.s_addr != 0)
return targetAddress;
else
return alias_addr;
return aliasAddress;
}
else
{