Skip to content

Commit

Permalink
set address mode
Browse files Browse the repository at this point in the history
  • Loading branch information
benpicco committed Oct 30, 2014
1 parent 6a4f0e0 commit cd7796b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/olsr2/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ static void init(void) {

rtc_enable();
genrand_init(get_node_id());
net_if_set_src_address_mode(IF_ID, NET_IF_TRANS_ADDR_M_SHORT);
net_if_set_hardware_address(IF_ID, get_node_id());

ipv6_addr_set_link_local_prefix(&tmp);
Expand Down

0 comments on commit cd7796b

Please sign in to comment.