Hi, Guy,

First of all, thanks so much for your help and detailed explanation! --
I really appreciate it...

On 06/15/2014 08:07 PM, Guy Harris wrote:
> 
>> which would seem to indicate that pcap_inject() is overwriting the
>> value I set with something else (pseudo_AF_HDRCMPLT?).
> 
> It indicates that *some* piece of code is overwriting that value.

Yep. Apologies for being sloppy....


[....]
> /* BPF writes need to be handled specially. */ if (dst->sa_family ==
> pseudo_AF_HDRCMPLT || dst->sa_family == AF_UNSPEC) 
> bcopy(dst->sa_data, &af, sizeof(af)); else af = dst->sa_family;
> 
> As the person who came across this bug, you should file a bug on
> this; if you can, CC me on it, or, if not, let me know what bug ID it
> gets assigned so that I can try to CC myself on it.

I will certainly file a bug report, and CC you. My understanding is that
this should be filled in most (if not all) of the BSD variants? (because
besides the error message one obtains, it seems that in several flavors
of them, pcap_inject() fails for the same reason).

Thanks!

Best regards,
-- 
Fernando Gont
e-mail: ferna...@gont.com.ar || fg...@si6networks.com
PGP Fingerprint: 7809 84F5 322E 45C7 F1C9 3945 96EE A9EF D076 FFF1



_______________________________________________
tcpdump-workers mailing list
tcpdump-workers@lists.tcpdump.org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers

Reply via email to