Subject: RE : problem with sys/net/if_tun.c revision 1.80
To: None <current-users@netbsd.org>
From: None <zul@netbsd-fr.org>
List: current-users
Date: 03/03/2006 22:35:10
in 1.80 we have change the tun behaviour to permit the use of ipv6 under
tun. Now, the tun interface has more or less the same interface than
OpenBSD's one. Try this patch on Makefile (vpnc Makefile in work).

ifeq ($(shell uname -s), NetBSD)
- CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN
+ CFLAGS += -DSOCKADDR_IN_SIN_LEN -DHAVE_SA_LEN -DNEW_TUN
SYSDEP=sysdep-bsd.o

I think it will solve the issue. 

Take care.
-- 
Arnaud DEGROOTE