Pass the correct value to sizeof when copying address information.