diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-04-29 10:25:38 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2016-04-29 10:25:38 +0200 |
commit | 668d66c4e1f79081d1096c7cf63e807637b88237 (patch) | |
tree | c2b20f472a044d493244578d94085ac423ac1e21 /.gitignore | |
parent | b8bbf5de3594de63b241bf45acdc03ab4bb7eb8d (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 '.gitignore')
0 files changed, 0 insertions, 0 deletions