提交 a595479c 编写于 作者: O openharmony_ci 提交者: Gitee

!3 【轻量级 PR】:屏蔽lwip代码中有bug的IPv6地址解析函数ip6addr_aton

Merge pull request !3 from Caoruihong/N/A
......@@ -57,7 +57,7 @@
const ip_addr_t ip6_addr_any = IPADDR6_INIT(0ul, 0ul, 0ul, 0ul);
#define lwip_xchar(i) ((char)((i) < 10 ? '0' + (i) : 'A' + (i) - 10))
#if 0 // this ip6addr_aton is buggy, fixed in `fixme.c'
/**
* Check whether "cp" is a valid ascii representation
* of an IPv6 address and convert to a binary address.
......@@ -193,7 +193,7 @@ fix_byte_order_and_return:
return 1;
}
#endif
/**
* Convert numeric IPv6 address into ASCII representation.
* returns ptr to static buffer; not reentrant!
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册