strace swaps order of sin6_flowinfo and sin6_addr fields

shankarapailoor shankarapailoor at
Wed Jan 9 17:28:15 UTC 2019


It seems that strace decodes sin6_addr field before the sin6_flowinfo
which seems incorrect because the struct definition has sin6_flowinfo
before sin6_addr (see here:
Was this order of decoding intentional, but If this is a mistake, then
attached is a patch that fixes the order of decoding.

Shankara Pailoor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v1-0001-sockaddr.c-print-sin6_flowinfo-before-sin6_addr.patch
Type: text/x-patch
Size: 8775 bytes
Desc: not available
URL: <>

More information about the Strace-devel mailing list