Deleted Added
full compact
print-pflog.c (214478) print-pflog.c (235530)
1/*
2 * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and

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

157 ip_print(gndo, p, length);
158 break;
159
160#ifdef INET6
161 case AF_INET6:
162#if OPENBSD_AF_INET6 != AF_INET6
163 case OPENBSD_AF_INET6: /* XXX: read pcap files */
164#endif
1/*
2 * Copyright (c) 1990, 1991, 1993, 1994, 1995, 1996
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that: (1) source code distributions
7 * retain the above copyright notice and this paragraph in its entirety, (2)
8 * distributions including binary code include the above copyright notice and

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

157 ip_print(gndo, p, length);
158 break;
159
160#ifdef INET6
161 case AF_INET6:
162#if OPENBSD_AF_INET6 != AF_INET6
163 case OPENBSD_AF_INET6: /* XXX: read pcap files */
164#endif
165 ip6_print(p, length);
165 ip6_print(gndo, p, length);
166 break;
167#endif
168
169 default:
170 /* address family not handled, print raw packet */
171 if (!eflag)
172 pflog_print(hdr);
173 if (!suppress_default_print)

--- 15 unchanged lines hidden ---
166 break;
167#endif
168
169 default:
170 /* address family not handled, print raw packet */
171 if (!eflag)
172 pflog_print(hdr);
173 if (!suppress_default_print)

--- 15 unchanged lines hidden ---