| To: | szukw000@xxxxxxxxxxxxxxxxxxxxx |
|---|---|
| Subject: | Re: linux-2.4.21 and IPv6 |
| From: | YOSHIFUJI Hideaki / 吉藤英明 <yoshfuji@xxxxxxxxxxxxxx> |
| Date: | Sun, 17 Aug 2003 23:34:38 +0900 (JST) |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20030817020925.A875@keun> |
| Organization: | USAGI Project |
| References: | <20030817020925.A875@keun> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
In article <20030817020925.A875@keun> (at Sun, 17 Aug 2003 02:09:25 GMT), "w.szukalski" <szukw000@xxxxxxxxxxxxxxxxxxxxx> says: > read6.sin6_scope_id = 0; : > // ALTERNATIVE 2: > inet_pton(AF_INET6, host, &read6.sin6_addr); > > // ALTERNATIVE 3: > read6.sin6_addr = mreq6.ipv6mr_multiaddr; What is host? > bind(reader, (struct sockaddr *)&read6, sizeof(read6) ); > > bind() fails for alternative 3 with 'Invalid argument'. bind(2) should fail with ALT.2 for some "host." Anyway, the reason seems that you forgot to set scope-id for link-local scope addresses. --yoshfuji |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [2.4 PATCH] bugfix: ARP respond on all devices, Carlos Velasco |
|---|---|
| Next by Date: | Re: linux-2.4.21 and IPv6: problem solved, YOSHIFUJI Hideaki / 吉藤英明 |
| Previous by Thread: | linux-2.4.21 and IPv6, w.szukalski |
| Next by Thread: | [PATCH] small loopback.c cleanups, Mitchell Blank Jr |
| Indexes: | [Date] [Thread] [Top] [All Lists] |