diff options
| author | 2019-04-05 00:57:59 +0000 | |
|---|---|---|
| committer | 2019-04-05 00:57:59 +0000 | |
| commit | 8e229e7c02590fb11f9029f58e671a8928e22bf5 (patch) | |
| tree | 4db9bd215a9303064d9fdca9af290bd49b74ffa4 /usr.sbin/tcpdump/print-llc.c | |
| parent | Make tpm(4) attach to MSFT0101 chips. (diff) | |
| download | wireguard-openbsd-8e229e7c02590fb11f9029f58e671a8928e22bf5.tar.xz wireguard-openbsd-8e229e7c02590fb11f9029f58e671a8928e22bf5.zip | |
support printing cdp over gre and ppp
ok deraadt@ mpi@ sthen@
Diffstat (limited to 'usr.sbin/tcpdump/print-llc.c')
| -rw-r--r-- | usr.sbin/tcpdump/print-llc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-llc.c b/usr.sbin/tcpdump/print-llc.c index f613f582f51..a18e859930e 100644 --- a/usr.sbin/tcpdump/print-llc.c +++ b/usr.sbin/tcpdump/print-llc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-llc.c,v 1.20 2015/11/16 00:16:39 mmcc Exp $ */ +/* $OpenBSD: print-llc.c,v 1.21 2019/04/05 00:57:59 dlg Exp $ */ /* * Copyright (c) 1992, 1993, 1994, 1995, 1996, 1997 @@ -100,7 +100,7 @@ llc_print(const u_char *p, u_int length, u_int caplen, /* Cisco Discovery Protocol - SNAP & ether type 0x2000 */ if (llc.ethertype[0] == 0x20 && llc.ethertype[1] == 0x00) { - cdp_print(p, length, caplen, esrc, edst); + cdp_print(p, length, caplen, 8); return (1); } /* Shared Spanning Tree Protocol - SNAP & ether type 0x010b */ |
