commit | c6fd08c6edf7cd5747f13cc411bae6396da4a81c | [log] [tgz] |
---|---|---|
author | Dmitry V. Levin <ldv@altlinux.org> | Thu Jun 23 09:32:24 2016 +0000 |
committer | Dmitry V. Levin <ldv@altlinux.org> | Thu Jun 23 09:32:24 2016 +0000 |
tree | d0def2b24a496f17ca53df9e11571fd9f9facdf5 | |
parent | dcc7a3c1c68455bffe16b5c4cd32ea1b92a5a4d1 [diff] |
net.c: do not print sockaddr_in6.sin6_scope_id unnecessarily Prior to RFC2553, struct sockaddr_in6 had no sin6_scope_id field. As the kernel still accepts RFC2133 editions of struct sockaddr_in6, print sockaddr_in6.sin6_scope_id only when it is specified. * net.c (SIN6_MIN_LEN): New macro. (print_sockaddr_data_in6): Print sockaddr_in6.sin6_scope_id only when socket address length exceeds SIN6_MIN_LEN.
This is strace -- a diagnostic, debugging and instructional userspace utility for Linux. It is used to monitor interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please send bug reports and enhancements to the strace mailing list.