Merge pull request #3496 from luanxg/lxg_dev

[update] 修复拼写错误
This commit is contained in:
Bernard Xiong 2020-04-07 16:17:58 +08:00 committed by GitHub
commit e28bb9f662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -564,7 +564,7 @@ netdev_inet_ntop(int af, const void *src, char *dst, int32_t size)
} }
switch (af) switch (af)
{ {
#if NTEDEV_IPV4 #if NETDEV_IPV4
case AF_INET: case AF_INET:
return netdev_ip4addr_ntoa_r((const ip4_addr_t *)src, dst, size_int); return netdev_ip4addr_ntoa_r((const ip4_addr_t *)src, dst, size_int);
#endif #endif