net/icmpv6: fix build break "duplicate macro parameter"

Error: net/icmpv6/icmpv6.h:442:33: error: duplicate macro parameter "d"
 #  define icmpv6_setaddresses(d,d,p,p) (0)

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2022-08-26 14:11:48 +08:00 committed by Petro Karashchenko
parent cc421e43e4
commit 77a99acc98

View File

@ -439,7 +439,7 @@ void icmpv6_setaddresses(FAR struct net_driver_s *dev,
const net_ipv6addr_t prefix,
unsigned int preflen);
#else
# define icmpv6_setaddresses(d,d,p,p) (0)
# define icmpv6_setaddresses(dev,draddr,prefix,preflen) (0)
#endif
/****************************************************************************