diff --git a/sys/net/gnrc/network_layer/ipv6/static_addr/gnrc_ipv6_static_addr.c b/sys/net/gnrc/network_layer/ipv6/static_addr/gnrc_ipv6_static_addr.c index 29f2a15515..49ce13f96b 100644 --- a/sys/net/gnrc/network_layer/ipv6/static_addr/gnrc_ipv6_static_addr.c +++ b/sys/net/gnrc/network_layer/ipv6/static_addr/gnrc_ipv6_static_addr.c @@ -84,7 +84,7 @@ static void _config_downstream(gnrc_netif_t *downstream) DEBUG("gnrc_ipv6_static_addr: interface %u selected as downstream\n", downstream->pid); - if (CONFIG_GNRC_IPV6_STATIC_PREFIX == NULL) { + if (static_prefix == NULL) { return; }