cvs commit: src/sys/net if_ethersubr.c
Joerg Wunsch
j at uriah.heep.sax.de
Thu Jun 24 11:00:52 PDT 2004
As Maxim Konovalov wrote:
> kern/46961
Ah. I didn't look into GNATS at all, but rather started debugging it
myself. ;-)
> I had a workaround for ages but never completed it, thanks!
After seeing the code responsible for it, it became very obvious to me
that the most simple workaround for it was to say "ifconfig
... promisc" on both hardware ethernet interfaces involved. This sets
the IFF_PPROMISC flag, which in turn will cause the respective code to
not throw the packet away. Seeing it working after this workaround
was my final clue that I'm on the right track in my way to fix it. ;-)
(The interfaces are in promiscuous mode already anyway, so no harm
done by additionally requesting promiscuous mode directly via
ifconfig.)
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)
More information about the cvs-src
mailing list