diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2014-06-20 18:26:59 +0800 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2014-06-30 11:47:02 +0200 |
commit | 3065fb3642c8e554432059629808a62560e2184f (patch) | |
tree | 34041b92de488827e5bfb9ebcc117a55c9926cc0 /src/extra/udp.c | |
parent | 862c4ff36336efe4824602cdf141d459f024dc74 (diff) |
extra: use inet_ntop instead of inet_ntoa
The result of inet_ntoa() will be overwritten by the next call to
inet_ntoa(), so using it twice in the same snprintf() call causes
wrong result.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/extra/udp.c')
0 files changed, 0 insertions, 0 deletions