On Sun, Apr 11, 2010 at 08:47:38PM +0200, Toni Mueller wrote:
inet_ntoa will return pointer to a static buffer. Each call
to it will override thsi buffer with the new IP info.
To fix this, you will need to copy returned value to your
own local buffers and use those in your "log" statement(s).
HTH,
--patrick
[dd]