Change the default IPv6 prefix from aaaa::/64 to fd00::/64

This commit is contained in:
Simon Duquennoy 2015-09-30 16:06:58 +02:00 committed by Simon Duquennoy
parent 8b3d220761
commit dea04c67d7
78 changed files with 165 additions and 131 deletions

View file

@ -53,7 +53,7 @@ PROCESS_THREAD(example_servreg_server_process, ev, data)
PROCESS_BEGIN();
/* Set a global address. */
uip_ip6addr(&ipaddr, 0xaaaa, 0, 0, 0, 0, 0, 0, 0);
uip_ip6addr(&ipaddr, UIP_DS6_DEFAULT_PREFIX, 0, 0, 0, 0, 0, 0, 0);
uip_ds6_set_addr_iid(&ipaddr, &uip_lladdr);
uip_ds6_addr_add(&ipaddr, 0, ADDR_AUTOCONF);