After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 539510 - ORBNetID=ipaddr not working on Mac OS X
ORBNetID=ipaddr not working on Mac OS X
Status: RESOLVED FIXED
Product: ORBit2
Classification: Deprecated
Component: general
2.14.x
Other All
: Normal normal
: ---
Assigned To: ORBit maintainers
ORBit maintainers
Depends on:
Blocks:
 
 
Reported: 2008-06-21 19:18 UTC by Jules Colding
Modified: 2008-06-23 09:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix get_netid() (3.61 KB, patch)
2008-06-21 19:19 UTC, Jules Colding
none Details | Review

Description Jules Colding 2008-06-21 19:18:16 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.
Comment 1 Jules Colding 2008-06-21 19:19:55 UTC
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.
Comment 2 Jules Colding 2008-06-23 09:04:51 UTC
Fixed in svn.