Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-06 Thread Vladimir B.
÷ Fri, 04.10.2002, × 20:55, Maxim Sobolev ÎÁÐÉÓÁÌ: > Closer look at zebra's code revealed that my initial guess was > entirely correct. The problem is that it doesn't bother to zero out > ifreq structure allocated on stack, which leads to this misbehaviour. > > Attached patch should fix the probl

Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-06 Thread Vladimir B.
В Fri, 04.10.2002, в 19:39, Vincent Jardin написал: > It looks like your BSD kernel is not compiled with the IPv6 support. Yes, I know > Le Vendredi 4 Octobre 2002 15:51, "Vladimir B. " Grebenschikov a écrit : > > Hi > > > > I have tried to install fresh zebra (from ports) on 4.7-RC2 > > > > hav

Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-04 Thread Vincent Jardin
It looks like your BSD kernel is not compiled with the IPv6 support. Le Vendredi 4 Octobre 2002 15:51, "Vladimir B. " Grebenschikov a écrit : > Hi > > I have tried to install fresh zebra (from ports) on 4.7-RC2 > > have a problem - zebra turns on promiscuity mode on interface, > it is completely

Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-04 Thread Maxim Sobolev
Closer look at zebra's code revealed that my initial guess was entirely correct. The problem is that it doesn't bother to zero out ifreq structure allocated on stack, which leads to this misbehaviour. Attached patch should fix the problem - unfortunately due to code freeze I can't commit it immed

Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-04 Thread Vladimir B.
÷ Fri, 04.10.2002, × 18:06, Maxim Sobolev ÎÁÐÉÓÁÌ: > On Fri, Oct 04, 2002 at 05:51:46PM +0400, Vladimir B. Grebenschikov wrote: > > > > Hi > > > > I have tried to install fresh zebra (from ports) on 4.7-RC2 > > > > have a problem - zebra turns on promiscuity mode on interface, > > it is comple

Re: zebra interface flags problem on 4.7-RC2 (IFF_PROMISC)

2002-10-04 Thread Maxim Sobolev
On Fri, Oct 04, 2002 at 05:51:46PM +0400, Vladimir B. Grebenschikov wrote: > > Hi > > I have tried to install fresh zebra (from ports) on 4.7-RC2 > > have a problem - zebra turns on promiscuity mode on interface, > it is completely unacceptable when interface connected to HUB (not > switch) -