]> granicus.if.org Git - strace/commit
bpf_sock_filter: use print_xlat32
authorEugene Syromyatnikov <evgsyr@gmail.com>
Sat, 10 Mar 2018 05:16:17 +0000 (06:16 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 12 Apr 2018 23:00:28 +0000 (23:00 +0000)
commit2342efed279658867afdb9d4f804c0d9f1d0813c
treef085a209c15485d56dd6a9a9e890fc2686d799b4
parentf21f7033f9fc31eda9b3f8d00638868a84e8d221
bpf_sock_filter: use print_xlat32

We can't simply use print_xlat here due to the way those SKF_*_OFF
constants are defined.

* bpf_sock_filter.c (print_sock_filter_k): Use print_xlat32 for printing
SKF_AD_OFF, SKF_NET_OFF, and SKF_LL_OFF named constants.
bpf_sock_filter.c