Commit 09b6f4b0 authored by Martin Pool's avatar Martin Pool

Fix inet_ntop/pton names

parent 7067b0aa
......@@ -43,7 +43,7 @@ static const char *inet_ntop6(const unsigned char *src, char *dst,
* Paul Vixie, 1996.
*/
const char *
isc_net_ntop(int af, const void *src, char *dst, size_t size)
inet_ntop(int af, const void *src, char *dst, size_t size)
{
switch (af) {
case AF_INET:
......
......@@ -41,10 +41,9 @@ static int inet_pton6(const char *src, unsigned char *dst);
* Paul Vixie, 1996.
*/
int
isc_net_pton(af, src, dst)
int af;
const char *src;
void *dst;
inet_pton(int af,
const char *src,
void *dst)
{
switch (af) {
case AF_INET:
......
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