Skip to content

Commit

Permalink
[SQUASH ME] NG_NETOPT => NETOPT
Browse files Browse the repository at this point in the history
  • Loading branch information
cgundogan committed Aug 10, 2015
1 parent 58cd627 commit 7798c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/routing/ng_rpl/ng_rpl_control_messages.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7798c6b

Please sign in to comment.