On Sun, Jan 04, 2004 at 01:55:21PM +0100, Gisle Vanem wrote: > I agree that many args should be 'const'ed, but your patch will break e.g. > Ethereal that binds to libpcap functions via dynamic lib-loading and function- > pointers.
I already checked in a number of his constification (I keep wanting to say "constipation" when referring to adding "const" :-)) changes; they're in the 0.8.1 libpcap. That's why there's the WPCAP_CONSTIFIED stuff in Ethereal. 0.8.1 doesn't have the change to constify the filter string argument to "pcap_compile()"; that might require a little more work with WPCAP_CONSTIFIED if, as I think is the case, WinPcap 3.0 and 3.1 have the other constifications (it'll have to distinguish between 2.x which has none of the constifications, 3.0/3.1 which have most of them, and a future release with the additional one). - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]
