Skip to content

Commit

Permalink
sys: net: gnrc: fix IS_WIRED netopt call
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspar030 committed Apr 13, 2016
1 parent 5269017 commit 592558f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/network_layer/ipv6/netif/gnrc_ipv6_netif.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ void gnrc_ipv6_netif_init_by_dev(void)
* gnrc_ipv6_netif_add() */
}

if (gnrc_netapi_get(ifs[i], NETOPT_IS_WIRED, 0, &tmp, sizeof(int)) > 0) {
if (gnrc_netapi_get(ifs[i], NETOPT_IS_WIRED, 0, NULL, 0) > 0) {
ipv6_if->flags |= GNRC_IPV6_NETIF_FLAGS_IS_WIRED;
}
else {
Expand Down

0 comments on commit 592558f

Please sign in to comment.