Date: Thu, 25 Jul 2013 12:36:28 +0800 From: orc <orc@...server.ru> To: musl@...ts.openwall.com Subject: Re: [PATCH] inet_ntop() and ipv4 address On Thu, 25 Jul 2013 12:21:27 +0800 orc <orc@...server.ru> wrote: > inet_ntop() does not embed plain ipv4 address at end (like > "::ffff:10.0.0.1"). This patch fixes it, but it is a bit ugly. Without > it is a bit harder to read logs of some daemons that support only one > address family socket binding and seeing output of 'ss -tn'. Adopt if > needed. And my mistake: should be !memcmp(a, buf, 10) && memcmp(a, buf, 14) && instead of !memcmp(a, buf, 10) Sorry.
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.