[omniORB] tcpTransportImpl.cc/unix_get_ifinfo : issues on solaris 10 sparc

Duncan Grisby duncan at grisby.org
Wed Dec 28 15:36:55 GMT 2011


On Mon, 2011-12-12 at 16:33 +0000, Sébastien Bouchex Bellomié wrote:

> I’m having issues with this method on solaris sparc (64 bit) when
> recompiling omniorb 4.1.6 with sunstudio 12.2
> 
> The unix_get_ifinfo method initializes an “ifc” variable as followed:

> ifc.ifc_len = len;
> ifc.ifc_buf = buf;

> But 2 other members are missing:
> 
> ifc.lifc_family = AF_INET;
> ifc.lifc_flags  = 0;

> According to various sources, they must be affected before calling
> ioctl.

Can you send a patch that makes that change for Solaris?

Thanks,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --





More information about the omniORB-list mailing list