Deleted Added
full compact
ipfcomp.c (153881) ipfcomp.c (161357)
1/* $FreeBSD: head/contrib/ipfilter/tools/ipfcomp.c 153881 2005-12-30 11:52:26Z guido $ */
1/* $FreeBSD: head/contrib/ipfilter/tools/ipfcomp.c 161357 2006-08-16 12:23:02Z guido $ */
2
3/*
4 * Copyright (C) 1993-2001 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 */
8#if !defined(lint)
9static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-2000 Darren Reed";
2
3/*
4 * Copyright (C) 1993-2001 by Darren Reed.
5 *
6 * See the IPFILTER.LICENCE file for details on licencing.
7 */
8#if !defined(lint)
9static const char sccsid[] = "@(#)ip_fil.c 2.41 6/5/96 (C) 1993-2000 Darren Reed";
10static const char rcsid[] = "@(#)$Id: ipfcomp.c,v 1.24.2.2 2004/04/28 10:34:44 darrenr Exp $";
10static const char rcsid[] = "@(#)$Id: ipfcomp.c,v 1.24.2.3 2006/03/17 22:31:57 darrenr Exp $";
11#endif
12
13#include "ipf.h"
14
15
16typedef struct {
17 int c;
18 int e;

--- 1200 unchanged lines hidden (view full) ---

1219frgroup_t *grp;
1220{
1221 frentry_t *fr;
1222 char *group;
1223 int dogrp, i;
1224 char *instr;
1225
1226 group = grp->fg_name;
11#endif
12
13#include "ipf.h"
14
15
16typedef struct {
17 int c;
18 int e;

--- 1200 unchanged lines hidden (view full) ---

1219frgroup_t *grp;
1220{
1221 frentry_t *fr;
1222 char *group;
1223 int dogrp, i;
1224 char *instr;
1225
1226 group = grp->fg_name;
1227 dogrp = 0;
1227 dogrp = *group ? 1 : 0;
1228
1229 if (in && out) {
1230 fprintf(stderr,
1231 "printhooks called with both in and out set\n");
1232 exit(1);
1233 }
1234
1235 if (in) {

--- 112 unchanged lines hidden ---
1228
1229 if (in && out) {
1230 fprintf(stderr,
1231 "printhooks called with both in and out set\n");
1232 exit(1);
1233 }
1234
1235 if (in) {

--- 112 unchanged lines hidden ---