artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f32e53
)
use ether_tryprint, which looks inside the ether packet.
author
dlg
<dlg@openbsd.org>
Fri, 9 Feb 2018 04:08:26 +0000
(
04:08
+0000)
committer
dlg
<dlg@openbsd.org>
Fri, 9 Feb 2018 04:08:26 +0000
(
04:08
+0000)
ether_print just prints the ether header.
usr.sbin/tcpdump/print-gre.c
patch
|
blob
|
history
diff --git
a/usr.sbin/tcpdump/print-gre.c
b/usr.sbin/tcpdump/print-gre.c
index
d60877c
..
b1ecc2f
100644
(file)
--- a/
usr.sbin/tcpdump/print-gre.c
+++ b/
usr.sbin/tcpdump/print-gre.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: print-gre.c,v 1.1
7 2018/02/09 00:06:51
dlg Exp $ */
+/* $OpenBSD: print-gre.c,v 1.1
8 2018/02/09 04:08:26
dlg Exp $ */
/*
* Copyright (c) 2002 Jason L. Wright (jason@thought.net)
@@
-257,7
+257,7
@@
gre_print_0(const u_char *p, u_int length)
mpls_print(p, length);
break;
case ETHERTYPE_TRANSETHER:
- ether_
print(p, length
);
+ ether_
tryprint(p, length, 0
);
break;
default:
printf("unknown-proto-%04x", proto);