]> granicus.if.org Git - strace/commit
netlink: print unrecognized netlink payload in hex
authorJingPiao Chen <chenjingpiao@gmail.com>
Fri, 7 Jul 2017 01:34:59 +0000 (09:34 +0800)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 7 Jul 2017 16:43:41 +0000 (16:43 +0000)
commitb61dfe9a37c73664aea058bcd34696aee1145ff9
tree775f1116a12e6c48fb70fbd4b36cd8e077f2ca02
parentdbb622c06113ffe9114c1b89a3d08ab8eb5ceca7
netlink: print unrecognized netlink payload in hex

* netlink.c (decode_payload): Replace printstrn
with printstr_ex and set QUOTE_FORCE_HEX flag.
* tests/netlink_protocol.c (send_query, test_nlmsgerr,
test_nlmsg_done): Update expected output.
* tests/netlink_generic.c (test_nlmsg_type): Likewise.
netlink.c
tests/netlink_generic.c
tests/netlink_protocol.c