blob: 890cc9606f2af071083c6d49e7d0b6e8eb58eb13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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",
|