From 99a0a0897e31a92e3040c23ba78000cbbb15cd97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= Date: Fri, 7 Aug 2015 20:17:18 +0200 Subject: [PATCH] [SQUASH ME] NG_NETOPT => NETOPT --- sys/net/routing/ng_rpl/ng_rpl_control_messages.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/net/routing/ng_rpl/ng_rpl_control_messages.c b/sys/net/routing/ng_rpl/ng_rpl_control_messages.c index 5815c3de64f4..519185796e49 100644 --- a/sys/net/routing/ng_rpl/ng_rpl_control_messages.c +++ b/sys/net/routing/ng_rpl/ng_rpl_control_messages.c @@ -272,7 +272,7 @@ bool _parse_options(int msg_type, ng_rpl_dodag_t *dodag, ng_rpl_opt_t *opt, uint ng_ipv6_addr_t all_RPL_nodes = NG_IPV6_ADDR_ALL_RPL_NODES; kernel_pid_t if_id = ng_ipv6_netif_find_by_addr(NULL, &all_RPL_nodes); /* check for the auto address-configuration flag */ - if ((ng_netapi_get(if_id, NG_NETOPT_IPV6_IID, 0, &iid, sizeof(eui64_t)) < 0) && + if ((ng_netapi_get(if_id, NETOPT_IPV6_IID, 0, &iid, sizeof(eui64_t)) < 0) && !(pi->LAR_flags & NG_RPL_PREFIX_AUTO_ADDRESS_BIT)) { break; }