netlink: fix IPV6 macro bug
Signed-off-by: meijian <meijian@xiaomi.com>
This commit is contained in:
parent
fb1ff61d0d
commit
f4d9005bea
@ -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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user