Revert the default behaviour for incoming connections so

that they (once again) go to the target machine rather than
the alias address.

PR:		18354
Submitted by:	ru
This commit is contained in:
Brian Somers 2000-05-11 07:52:21 +00:00
parent e46f1e870a
commit 151682eadc
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60363
4 changed files with 6 additions and 6 deletions

View File

@ -2284,7 +2284,7 @@ PacketAliasInit(void)
}
aliasAddress.s_addr = INADDR_ANY;
targetAddress.s_addr = INADDR_NONE;
targetAddress.s_addr = INADDR_ANY;
icmpLinkCount = 0;
udpLinkCount = 0;

View File

@ -784,12 +784,12 @@ arrives at the host machine, it will be sent to the address indicated by a
call to
.Fn PacketAliasSetTarget .
.Pp
If this function is not called, or is called with an
If this function is called with an
.Dv INADDR_NONE
address argument, then all new incoming packets go to the address set by
.Fn PacketAliasSetAddress .
.Pp
If this function is called with an
If this function is not called, or is called with an
.Dv INADDR_ANY
address argument, then all new incoming packets go to the address specified
in the packet.

View File

@ -2284,7 +2284,7 @@ PacketAliasInit(void)
}
aliasAddress.s_addr = INADDR_ANY;
targetAddress.s_addr = INADDR_NONE;
targetAddress.s_addr = INADDR_ANY;
icmpLinkCount = 0;
udpLinkCount = 0;

View File

@ -784,12 +784,12 @@ arrives at the host machine, it will be sent to the address indicated by a
call to
.Fn PacketAliasSetTarget .
.Pp
If this function is not called, or is called with an
If this function is called with an
.Dv INADDR_NONE
address argument, then all new incoming packets go to the address set by
.Fn PacketAliasSetAddress .
.Pp
If this function is called with an
If this function is not called, or is called with an
.Dv INADDR_ANY
address argument, then all new incoming packets go to the address specified
in the packet.