GNOME Bugzilla – Bug 539510
ORBNetID=ipaddr not working on Mac OS X
Last modified: 2008-06-23 09:04:51 UTC
Please describe the problem: The linc2/src/linc-protocols.c:get_netid() failed to deduce a correct IP address on Mac OS X 10.5 when ORBNetID was set to "ipaddr" as opposed to Linux where get_netid() worked correctly. Steps to reproduce: 1. Let a small sample application create objects with the above ORB option on Mac OS X. 2. Use ior-decode-2 to see the deduced IP address. It would normally be a nonsense value. Actual results: Expected results: Does this happen every time? Yes. Other information: A patch correcting the problem will be attached to this bug entry and posted to the ORBit2 list.
Created attachment 113178 [details] [review] Fix get_netid() The patch has been tested on Mac OS X 10.5 and Ubuntu Gutsy. It fixes the problem and simplifies get_netid() by introducing a new helper function.
Fixed in svn.