summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2016-04-29 10:25:38 +0200
committerTobias Klauser <tklauser@distanz.ch>2016-04-29 10:25:38 +0200
commit668d66c4e1f79081d1096c7cf63e807637b88237 (patch)
treec2b20f472a044d493244578d94085ac423ac1e21 /README
parentb8bbf5de3594de63b241bf45acdc03ab4bb7eb8d (diff)
iface: Use getnameinfo() to get address from struct sockaddr_storage
Use getnameinfo() instead of inet_ntop() with weird (and incorrect) pointer arithmetics to get the numeric address from a struct sockaddr_storage. This addresses CID 99692 & 99696 discovered by the Coverity scanner. Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions