Commit cc234d94 authored by Wayne Davison's avatar Wayne Davison

+ Fixed a comment that referred to isc_net_pton() instead of inet_pton().

+ Only prototype inet_pton6() if INET6 is defined.
parent ac84096d
......@@ -27,10 +27,12 @@
*/
static int inet_pton4(const char *src, unsigned char *dst);
#ifdef INET6
static int inet_pton6(const char *src, unsigned char *dst);
#endif
/* int
* isc_net_pton(af, src, dst)
* inet_pton(af, src, dst)
* convert from presentation format (which usually means ASCII printable)
* to network format (which is usually some kind of binary format).
* return:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment