tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: ifconfig -a error
On Wed, 13 Aug 2008, David Young wrote:
> On Wed, Aug 13, 2008 at 07:01:30PM +0200, Ignatios Souvatzis wrote:
> > So, logically, the ll addr is the (outer) IPv4 address. How *should*
> > it do this / what do the others do?
>
> I think that eon should set if_addrlen to 0.
I can confirm that solves the ifconfig trouble (it prints no address since
nothing is configured).
iain
--- /usr/src/sys/netiso/if_eon.c 2008-06-20 17:32:11.000000000 +0100
+++ sys/netiso/if_eon.c 2008-08-13 19:21:48.000000000 +0100
@@ -149,7 +149,7 @@ eonattach(void)
ifp->if_ioctl = eonioctl;
ifp->if_output = eonoutput;
ifp->if_type = IFT_EON;
- ifp->if_addrlen = 5;
+ ifp->if_addrlen = 0;
ifp->if_hdrlen = EONIPLEN;
ifp->if_flags = IFF_BROADCAST;
if_attach(ifp);
Home |
Main Index |
Thread Index |
Old Index