hostnum.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: hostnum.c,v 1.8 2002/01/28 06:50:46 darrenr Exp $
*/
#include <ctype.h>
#include "ipf.h"
/*
* returns an ip address as a long var as a result of either a DNS lookup or
* straight inet_addr() call
*/
char *host;
int linenum;
char *ifname;
{
return 0;
#ifdef USE_INET6
if (use_inet6) {
return 0;
else
return -1;
}
#endif
return 0;
}
return -1;
}
return 0;
}
return 0;
}