Brian Somers wrote:
> The tun device, when given the TUNSIFHEAD ioctl, will prepend the 
> address family.  If TUNSIFHEAD is turned off, it will drop non IPv4 
> packets.
> 
> This was done for backwards compatibility.  To use IPv6 with tun, you 
> must use the TUNSIFHEAD ioctl and prepend/strip the address family on 
> the front of each packet (see bundle_Create() in 
> src/usr.sbin/ppp/bundle.c).

Ah, that makes sense. The tag is so the tun device knows who to toss the 
packet to when it comes back from the process? Guess I'll have to patch 
vtund, then...

Thanks,
Lars
-- 
Lars Eggert <[EMAIL PROTECTED]>           USC Information Sciences Institute

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to