/*
* Copyright (C) 1993-2001 by Darren Reed.
*
* See the IPFILTER.LICENCE file for details on licencing.
*
* $Id: ports.c,v 1.9.4.1 2004/12/09 19:41:22 darrenr Exp $
*/
#include <ctype.h>
#include "ipf.h"
/*
* check for possible presence of the port fields in the line
*/
char ***seg;
char *proto;
int *cp;
int linenum;
{
return 0;
(*seg)++;
return -1;
(*seg)++;
comp = FR_OUTRANGE;
comp = FR_INRANGE;
else {
"%d: unknown range operator (%s)\n",
return -1;
}
(*seg)++;
linenum);
return -1;
}
return -1;
comp = FR_GREATERT;
comp = FR_GREATERTE;
else {
return -1;
}
(*seg)++;
return -1;
}
(*seg)++;
}
return 0;
}