hostname.c revision 7663b81667fda05833f609eceac713f0a83c2347
/*
* Copyright (C) 2003 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "%Z%%M% %I% %E% SMI"
#include "ipf.h"
int v;
void *ip;
{
#ifdef USE_INET6
static char hostbuf[INET6_ADDRSTRLEN];
#endif
if (v == 4) {
}
#ifdef USE_INET6
return hostbuf;
#else
return "IPv6";
#endif
}