Deleted Added
full compact
print-chdlc.c (190207) print-chdlc.c (235530)
1/*
2 * Copyright (c) 1990, 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

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

80 p += CHDLC_HDRLEN;
81
82 switch (proto) {
83 case ETHERTYPE_IP:
84 ip_print(gndo, p, length);
85 break;
86#ifdef INET6
87 case ETHERTYPE_IPV6:
1/*
2 * Copyright (c) 1990, 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

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

80 p += CHDLC_HDRLEN;
81
82 switch (proto) {
83 case ETHERTYPE_IP:
84 ip_print(gndo, p, length);
85 break;
86#ifdef INET6
87 case ETHERTYPE_IPV6:
88 ip6_print(p, length);
88 ip6_print(gndo, p, length);
89 break;
90#endif
91 case CHDLC_TYPE_SLARP:
92 chdlc_slarp_print(p, length);
93 break;
94#if 0
95 case CHDLC_TYPE_CDP:
96 chdlc_cdp_print(p, length);

--- 119 unchanged lines hidden ---
89 break;
90#endif
91 case CHDLC_TYPE_SLARP:
92 chdlc_slarp_print(p, length);
93 break;
94#if 0
95 case CHDLC_TYPE_CDP:
96 chdlc_cdp_print(p, length);

--- 119 unchanged lines hidden ---