[zeromq-dev] OpenPGM and IPv6 interfaces
Steven McCoy
steven.mccoy at miru.hk
Tue Feb 2 04:15:09 CET 2010
On 2 February 2010 10:33, Steven McCoy <steven.mccoy at miru.hk> wrote:
> This looks like a bug as I'm getting an error too,
>
> ** ERROR **: binding transport: No matching network interface index: 2
>
>
Ack, typo,
--- sockaddr.c (revision 740)
+++ sockaddr.c (working copy)
@@ -141,7 +141,7 @@
)
{
gsize sa_scope_id;
- if (AF_INET == sa->sa_family) {
+ if (AF_INET6 == sa->sa_family) {
struct sockaddr_in6 s6;
memcpy (&s6, sa, sizeof(s6));
sa_scope_id = s6.sin6_scope_id;
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100202/eb9ea6d8/attachment.htm>
More information about the zeromq-dev
mailing list