From 9b2785910c6f55fa9f9dd68184a8def8806e6850 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 16 Apr 2015 14:45:15 +0300 Subject: [PATCH] doc update --- src/tun.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tun.c b/src/tun.c index b662eafa..15dc1b04 100644 --- a/src/tun.c +++ b/src/tun.c @@ -121,6 +121,9 @@ int set_ipv6_addr(main_server_st * s, struct proc_st *proc) rt6.rtmsg_dst_len = 128; rt6.rtmsg_metric = 1; + /* the ioctl() parameters in linux for ipv6 are + * well hidden. For that one we use SIOCADDRT as + * in busybox. */ ret = ioctl(fd, SIOCADDRT, &rt6); if (ret != 0) { e = errno;