Subject: scopeid on NetBSD-1.5.1 branch
To: None <current-users@netbsd.org>
From: Feico Dillema <feico@pasta.cs.uit.no>
List: current-users
Date: 02/14/2001 19:13:40
On several machines running netbsd-1.5.1_ALPHA, ifconfig gives
scopid's that do not make much sense. For example:

le0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:60:b0:c1:59:44
        media: Ethernet autoselect
        status: active
        inet6 3ffe:2a00:100:3008:260:b0ff:fec1:5944 prefixlen 64
        inet6 fe80::260:b0ff:fec1:5944%le0 prefixlen 64 scopeid 0x1
ex0: flags=8863<UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        address: 00:50:da:4a:b1:90
        media: Ethernet autoselect (10baseT)
        status: active
        inet 10.2.0.2 netmask 0xffff0000 broadcast 10.2.255.255
        inet6 fe80::250:daff:fe4a:b190%ex0 prefixlen 64 scopeid 0x2
        inet6 3ffe:2a00:100:300a:250:daff:fe4a:b190 prefixlen 64
lo0: flags=8009<UP,LOOPBACK,MULTICAST> mtu 33228
        inet 127.0.0.1 netmask 0xff000000
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
        inet6 ::1 prefixlen 128

It looks like the scopeid shows the interface-id instead. Is my
source/includes messed up or do others see the same? Just checked;
I see the same on a machine running -current.

Feico.