Hi,

Christopher Pharo Gl??serud <christopher+debian...@glaserud.com>
writes:

> tcpdump -i eth0
> tcpdump: getsockopt: Protocol not available
...
> Kernel: Linux 2.6.28-glupsk20100808 (SMP w/2 CPU cores)

Yes, one of the patches added in 1.1.1-4 makes libpcap use
PACKET_RESERVE which is available in 2.6.28 only if
CONFIG_PACKET_MMAP is set; I guess it isn't the case in your kernel
config?

You have two options:
- rebuild your 2.6.28 kernel with CONFIG_PACKET_MMAP, or
- upgrade to a newer kernel (the mmap interface is built-in by
  default since 2.6.34)

Alternatively, I guess I could make the getsockopt() call non-fatal
in cases like this...

Cheers,
-- 
Romain Francoise <rfranco...@debian.org>
http://people.debian.org/~rfrancoise/



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to