While debugging the bind failure on Mac OS X, I stumbled across the code in resolve_nic_name where it's not breaking out of the for loop upon the first match. Here is a patch to fix that up... unless getting the last match is the intention. I'm not even sure that there is any guaranteed ordering returned by getifaddrs.
0001-resolve_nic_name-to-get-out-as-soon-as-it-finds-the-.patch
Description: Binary data
I'm submitting this patch with the LGPL license. Chris
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
