[PATCH v4] Print ip and port associated with descriptor with -yy
Zubin Mithra
zubin.mithra at gmail.com
Mon Aug 11 07:58:22 UTC 2014
Hi,
Thank you for the review, Dmitry, Mike! I'll send out a patch soon.
>
> > + memset(&msg, 0, sizeof(msg));
> > + memset(&sa, 0, sizeof(sa));
> > + memset(&nlh, 0, sizeof(nlh));
> > + memset(&conn_req, 0, sizeof(conn_req));
>
> do you need to zero these out when you initialize their content below ?
>
Indeed, the calls do seem to fail when they are not initialised.
Thank you!
Zubin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140811/5177eb52/attachment.html>
More information about the Strace-devel
mailing list