Subject: Re: RE : problem with sys/net/if_tun.c revision 1.80
To: None <current-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2006.salmi.ch>
List: current-users
Date: 03/04/2006 12:14:44
zul@netbsd-fr.org --> current-users (2006-03-03 22:35:10 +0100):
> 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. 

Indeed, it does! Thanks for the hint.


Regards, Jukka

-- 
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~