[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Tue Jan 29 17:19:03 UTC 2019
New commits:
commit 83e57f9115521fc2c665e0f5920d8eeab5ece4a9
Author: Andrew Cagney <cagney at gnu.org>
Date: Tue Jan 22 20:45:34 2019 -0500
ip_address: add str_address_reversed() et.al., simplify build_dns_name()
In build_dns_name(), use fmt_address_reversed(), and strip trailing
'.'s before formatting an FQDN (not after by scribbling over the
output buffer).
Revive tests and add them to ipcheck.
Redefine ADDRTOT_BUF as sizeof(ip_address_reversed_buf). Turns out
that the old value (32 * 2 + 3 + 1 + 3 + 1 + 1) has always been one
byte too small - the second "3" should have been "4" for "ARPA" (the
things you find when running tests!?!). Fortunately only client used
a different and bigger constant.
More information about the Swan-commit
mailing list