X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fsdk%2Fc%2Fblip%2Fdriver%2Ftun_dev.c;h=f4b82177b66c30e41a2043606ac5d30bd01904bb;hb=e1526e289da030ff214b8ee978c564289a207a53;hp=3caf41f8ec200fe613f57f2639787722c4e81c15;hpb=82bee1ef3f15d5154f09e150eef5b7c65bb973cc;p=tinyos-2.x.git diff --git a/support/sdk/c/blip/driver/tun_dev.c b/support/sdk/c/blip/driver/tun_dev.c index 3caf41f8..f4b82177 100644 --- a/support/sdk/c/blip/driver/tun_dev.c +++ b/support/sdk/c/blip/driver/tun_dev.c @@ -148,7 +148,7 @@ int tun_setup(char *dev, struct in6_addr *addr) { } ifr6.ifr6_ifindex = ifr.ifr_ifindex; - ifr6.ifr6_prefixlen = 128; + ifr6.ifr6_prefixlen = 64;//128; if (ioctl(fd, SIOCSIFADDR, &ifr6) < 0) { log_fatal_perror("SIOCSIFADDR (global)"); return -1;