--- aiccu/common/aiccu_kame.c 2006-07-23 16:55:14.000000000 +0200 +++ aiccu-modified/common/aiccu_kame.c 2006-08-19 00:22:07.000000000 +0200 @@ -45,10 +45,18 @@ hTunnel->sIPv6_LinkLocal); /* Local side of the tunnel */ +#if defined(__NetBSD) || defined(__NetBSD__) + aiccu_exec( + "ifconfig %s inet6 %s %s prefixlen 128 alias", + g_aiccu->ipv6_interface, + hTunnel->sIPv6_Local, + hTunnel->sIPv6_POP); +#else aiccu_exec( "ifconfig %s inet6 %s prefixlen 128 alias", g_aiccu->ipv6_interface, hTunnel->sIPv6_Local); +#endif /* Remote side of the tunnel */ aiccu_exec( --- aiccu/common/common.h 2006-07-25 11:20:46.000000000 +0200 +++ aiccu-modified/common/common.h 2006-08-19 00:21:33.000000000 +0200 @@ -57,7 +57,7 @@ #include #else #ifndef _WIN32 -#if defined(_OPENBSD) || defined(_DFBSD) || defined(_FREEBSD) +#if defined(_OPENBSD) || defined(_DFBSD) || defined(_FREEBSD) || defined(_NETBSD) #include #else #include