Give jackdaw fe80::0 address and number webservers from fe80::1
This commit is contained in:
parent
1d2a5ca671
commit
ced88c2eff
3 changed files with 5 additions and 7 deletions
|
@ -1,7 +1,6 @@
|
|||
#include <avr/eeprom.h>
|
||||
|
||||
/* Link layer ipv6 address will become fe80::102 */
|
||||
uint8_t mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x2};
|
||||
/* Link layer ipv6 address will become fe80::2 */
|
||||
uint8_t mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02};
|
||||
uint8_t server_name[16] EEMEM = "huginn";
|
||||
uint8_t domain_name[30] EEMEM = "localhost";
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include <avr/eeprom.h>
|
||||
|
||||
/* Link layer ipv6 address will become fe80::101 */
|
||||
uint8_t mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x01};
|
||||
/* Link layer ipv6 address will become fe80::1 */
|
||||
uint8_t mac_address[8] EEMEM = {0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01};
|
||||
uint8_t server_name[16] EEMEM = "muninn";
|
||||
uint8_t domain_name[30] EEMEM = "localhost";
|
||||
|
||||
|
|
|
@ -168,7 +168,7 @@ PROCESS_THREAD(border_router_process, ev, data)
|
|||
|
||||
#else
|
||||
uip_ip6addr_t ipaddr;
|
||||
uip_ip6addr(&ipaddr, 0xbbbb, 0, 0, 0, 0, 0, 0, 0x11);
|
||||
uip_ip6addr(&ipaddr, 0xbbbb, 0, 0, 0, 0, 0, 0, 0x1);
|
||||
uip_ds6_addr_add(&ipaddr, 0, ADDR_MANUAL);
|
||||
rpl_set_prefix(dag, &ipaddr, 64);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue