projects
/
platform
/
upstream
/
strace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6522f13
)
printsock: fix decoding of unrecognized AF_PACKET packet types
author
Dmitry V. Levin
<ldv@altlinux.org>
Wed, 10 Sep 2014 00:13:56 +0000
(
00:13
+0000)
committer
Dmitry V. Levin
<ldv@altlinux.org>
Wed, 10 Sep 2014 22:29:58 +0000
(22:29 +0000)
* net.c (printsock): Fix fallback string for AF_PACKET packet types.
net.c
patch
|
blob
|
history
diff --git
a/net.c
b/net.c
index 0e6bcce649a44909684079ea9dc3de5c5482bfc3..f262f1bd9de46742db8ac7326364f87f6acc425e 100644
(file)
--- a/
net.c
+++ b/
net.c
@@
-273,7
+273,7
@@
printsock(struct tcb *tcp, long addr, int addrlen)
tprintf("proto=%#04x, if%d, pkttype=",
ntohs(addrbuf.ll.sll_protocol),
addrbuf.ll.sll_ifindex);
- printxval(af_packet_types, addrbuf.ll.sll_pkttype, "?");
+ printxval(af_packet_types, addrbuf.ll.sll_pkttype, "
PACKET_??
?");
tprintf(", addr(%d)={%d, ",
addrbuf.ll.sll_halen,
addrbuf.ll.sll_hatype);