portnum.c revision 7c478bd95313f5f23a4c958a745db2134aa03244
/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
*
* $Id: portnum.c,v 1.6 2001/06/09 17:09:24 darrenr Exp $
*/
#include <ctype.h>
#include "ipf.h"
/*
* find the port number given by the name, either from getservbyname() or
* straight atoi(). Return 1 on success, 0 on failure
*/
int linenum;
{
int i;
return 1;
}
return 0;
}
if (sp) {
return 1;
}
return 0;
}
if (sp)
return 0;
}
return 0;
}
return 1;
}