Deleted Added
full compact
print-null.c (147904) print-null.c (162021)
1/*
2 * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997
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

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

13 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14 * the University nor the names of its contributors may be used to endorse
15 * or promote products derived from this software without specific prior
16 * written permission.
17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 *
1/*
2 * Copyright (c) 1991, 1993, 1994, 1995, 1996, 1997
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

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

13 * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
14 * the University nor the names of its contributors may be used to endorse
15 * or promote products derived from this software without specific prior
16 * written permission.
17 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
18 * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
19 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
20 *
21 * $FreeBSD: head/contrib/tcpdump/print-null.c 147904 2005-07-11 04:14:02Z sam $
21 * $FreeBSD: head/contrib/tcpdump/print-null.c 162021 2006-09-04 20:25:04Z sam $
22 */
23
24#ifndef lint
25static const char rcsid[] _U_ =
22 */
23
24#ifndef lint
25static const char rcsid[] _U_ =
26 "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.53.2.2 2005/05/19 07:26:18 guy Exp $ (LBL)";
26 "@(#) $Header: /tcpdump/master/tcpdump/print-null.c,v 1.53.2.3 2005/07/07 01:24:38 guy Exp $ (LBL)";
27#endif
28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <tcpdump-stdinc.h>
34

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

170 case BSD_AF_IPX:
171 ipx_print(p, length);
172 break;
173
174 default:
175 /* unknown AF_ value */
176 if (!eflag)
177 null_hdr_print(family, length + NULL_HDRLEN);
27#endif
28
29#ifdef HAVE_CONFIG_H
30#include "config.h"
31#endif
32
33#include <tcpdump-stdinc.h>
34

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

170 case BSD_AF_IPX:
171 ipx_print(p, length);
172 break;
173
174 default:
175 /* unknown AF_ value */
176 if (!eflag)
177 null_hdr_print(family, length + NULL_HDRLEN);
178 if (!xflag && !qflag)
178 if (!suppress_default_print)
179 default_print(p, caplen);
180 }
181
182 return (NULL_HDRLEN);
183}
184
185/*
186 * Local Variables:
187 * c-style: whitesmith
188 * c-basic-offset: 8
189 * End:
190 */
179 default_print(p, caplen);
180 }
181
182 return (NULL_HDRLEN);
183}
184
185/*
186 * Local Variables:
187 * c-style: whitesmith
188 * c-basic-offset: 8
189 * End:
190 */