CORE-12152
svn path=/trunk/; revision=73095
if (NT_SUCCESS(Status))
{
if (NT_SUCCESS(Status))
{
+ /* Check if we had an unspecified address */
+ if (Connection->AddressFile->Address.Address.IPv4Address != bindaddr.addr)
+ {
+ /* We did, so we need to copy back the address */
+ Connection->AddressFile->Address.Address.IPv4Address = bindaddr.addr;
+ }
/* Check if we had an unspecified port */
if (!Connection->AddressFile->Port)
{
/* Check if we had an unspecified port */
if (!Connection->AddressFile->Port)
{