diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2014-08-20 17:32:04 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-08-22 10:51:18 +0200 |
commit | e210ed5da220acebb6751db4466fe352de08eaeb (patch) | |
tree | 0cc7fccd5e675fa35de43b1cd773e9f7720aefbd /README | |
parent | 885386b7e3f1c3e74b354576b98a092b0835d64e (diff) | |
download | sssd-e210ed5da220acebb6751db4466fe352de08eaeb.tar.gz sssd-e210ed5da220acebb6751db4466fe352de08eaeb.tar.xz sssd-e210ed5da220acebb6751db4466fe352de08eaeb.zip |
dyndns_test: Use right socket length of for IPv4 address.
man inet_ntop says:
The caller specifies the number of bytes available in this buffer
in the argument size.
AF_INET
src points to a struct in_addr (in network byte order) which is
converted to an IPv4 network address in the dotted-decimal
format, "ddd.ddd.ddd.ddd". The buffer dst must be at least
INET_ADDRSTRLEN bytes long.
Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions