Skip to content
Snippets Groups Projects
Unverified Commit e7bb0ed6 authored by Martine Lenders's avatar Martine Lenders
Browse files

gnrc_uhcpc: adapt for route lifetime

parent f6297420
No related branches found
No related tags found
No related merge requests found
...@@ -35,7 +35,7 @@ static void set_interface_roles(void) ...@@ -35,7 +35,7 @@ static void set_interface_roles(void)
ipv6_addr_from_str(&addr, "fe80::2"); ipv6_addr_from_str(&addr, "fe80::2");
gnrc_netapi_set(dev, NETOPT_IPV6_ADDR, 64 << 8, &addr, sizeof(addr)); gnrc_netapi_set(dev, NETOPT_IPV6_ADDR, 64 << 8, &addr, sizeof(addr));
ipv6_addr_from_str(&addr, "fe80::1"); ipv6_addr_from_str(&addr, "fe80::1");
gnrc_ipv6_nib_ft_add(&defroute, IPV6_ADDR_BIT_LEN, &addr, dev); gnrc_ipv6_nib_ft_add(&defroute, IPV6_ADDR_BIT_LEN, &addr, dev, 0);
} }
else if ((!gnrc_wireless_interface) && (is_wired != 1)) { else if ((!gnrc_wireless_interface) && (is_wired != 1)) {
gnrc_wireless_interface = dev; gnrc_wireless_interface = dev;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment