Re: linux ipv6 questions. bugs?

From: Russell King (rmk@arm.linux.org.uk)
Date: Thu Dec 14 2000 - 14:37:37 EST


kuznet@ms2.inr.ac.ru writes:
> > bash-2.04# ping6 fe80::a00:2bff:fe95:1d7b
> > connect: Invalid argument
>
> Yes, of course. Link local address without interface is invalid.

Ok...

bash-2.04# strace ping6 -I fe80::800:2b95:1d7b fe80::800:2b95:1d7b
...
socket(PF_INET6, SOCK_RAW, 58) = 3
getuid() = 0
setuid(0) = 0
bind(3, {sin_family=AF_INET6, sin6_port=htons(0), inet_pton(AF_INET6, "fe80::800:2b95:1d7b", &sin6_addr), sin6_flowinfo=htonl(0)}}, 24) = -1 EINVAL (Invalid argument)
write(2, "ping: bind icmp socket: Invalid "..., 41ping: bind icmp socket: Invalid argument) = 41
_exit(1) = ?
bash-2.04#

still no go.
   _____
  |_____| ------------------------------------------------- ---+---+-
  | | Russell King rmk@arm.linux.org.uk --- ---
  | | | | http://www.arm.linux.org.uk/personal/aboutme.html / / |
  | +-+-+ --- -+-
  / | THE developer of ARM Linux |+| /|\
 / | | | --- |
    +-+-+ ------------------------------------------------- /\\\ |
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Dec 15 2000 - 21:00:30 EST