4 * Copyright (C) 2012 by Darren Reed.
6 * See the IPFILTER.LICENCE file for details on licencing.
19 static char *pcmp1[] = { "*", "=", "!=", "<", ">", "<=", ">=",
22 if (frp->frp_cmp == FR_INRANGE || frp->frp_cmp == FR_OUTRANGE)
23 PRINTF(" port %d %s %d", frp->frp_port,
24 pcmp1[frp->frp_cmp], frp->frp_top);
25 else if (frp->frp_cmp == FR_INCRANGE)
26 PRINTF(" port %d:%d", frp->frp_port, frp->frp_top);
28 PRINTF(" port %s %s", pcmp1[frp->frp_cmp],
29 portname(pr, frp->frp_port));