Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: basesrc



Module Name:    basesrc
Committed By:   itojun
Date:           Thu Apr 13 05:14:20 UTC 2000

Modified Files:
        basesrc/lib/libpcap: Makefile inet.c

Log Message:
use getifaddrs, instead of SIOCGIFCONF.
sync with more-recent LBL 0.4, about loopback interface detection
(/^lo[0-9]?$/).

CAVEAT: with GENERIC kernel on laptops laptops, pcap_lookupdev would almost
always pick eon0 as the interface, and fails because eon0 has no bpf
attachment.  we may want to change pcap_lookup{,dev} to check if the
interface has bpf attachment or not.

almost in sync with tcpdump.org source code tree.


To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 basesrc/lib/libpcap/Makefile
cvs rdiff -r1.7 -r1.8 basesrc/lib/libpcap/inet.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index