diff --git a/net/netlink/netlink.h b/net/netlink/netlink.h index 9932a9635f..cdfd7287d8 100644 --- a/net/netlink/netlink.h +++ b/net/netlink/netlink.h @@ -562,7 +562,7 @@ void netlink_neigh_notify(FAR const void *neigh, int type, int domain); * ****************************************************************************/ -#if defined(CONFIG_NETLINK_DISABLE_NEWPREFIX) || !defined(CONFIG_NET_IPV6) +#if defined(CONFIG_NETLINK_DISABLE_NEWPREFIX) || !defined(CONFIG_NET_IPv6) # define netlink_ipv6_prefix_notify(dev, type, pinfo) #else void netlink_ipv6_prefix_notify(FAR struct net_driver_s *dev, int type, diff --git a/net/netlink/netlink_route.c b/net/netlink/netlink_route.c index b4fecc769d..7d35e9f543 100644 --- a/net/netlink/netlink_route.c +++ b/net/netlink/netlink_route.c @@ -1276,7 +1276,7 @@ static int netlink_get_addr(NETLINK_HANDLE handle, } #endif -#if !defined(CONFIG_NETLINK_DISABLE_NEWADDR) && defined(CONFIG_NET_IPV6) +#if !defined(CONFIG_NETLINK_DISABLE_NEWADDR) && defined(CONFIG_NET_IPv6) static FAR struct netlink_response_s * netlink_fill_ipv6prefix(FAR struct net_driver_s *dev, int type, FAR const struct icmpv6_prefixinfo_s *pinfo) @@ -1669,7 +1669,7 @@ void netlink_neigh_notify(FAR const void *neigh, int type, int domain) * ****************************************************************************/ -#if !defined(CONFIG_NETLINK_DISABLE_NEWADDR) && defined(CONFIG_NET_IPV6) +#if !defined(CONFIG_NETLINK_DISABLE_NEWADDR) && defined(CONFIG_NET_IPv6) void netlink_ipv6_prefix_notify(FAR struct net_driver_s *dev, int type, FAR const struct icmpv6_prefixinfo_s *pinfo) {