diff options
Diffstat (limited to 'net/aiccu/patches/patch-ad')
-rw-r--r-- | net/aiccu/patches/patch-ad | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/aiccu/patches/patch-ad b/net/aiccu/patches/patch-ad new file mode 100644 index 00000000000..890cc9606f2 --- /dev/null +++ b/net/aiccu/patches/patch-ad @@ -0,0 +1,23 @@ +$NetBSD: patch-ad,v 1.1 2006/06/13 18:06:21 ghen Exp $ + +--- common/aiccu_kame.c.orig 2006-06-13 19:59:18.000000000 +0200 ++++ common/aiccu_kame.c +@@ -43,10 +43,18 @@ void aiccu_os_setup(struct TIC_Tunnel *h + hTunnel->sIPv6_LinkLocal); + } + ++#ifdef __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 + + aiccu_exec( + "route add -inet6 %s -prefixlen 128 %s", |