[Swan-commit] Changes to ref refs/heads/master
Andrew Cagney
cagney at vault.libreswan.fi
Fri Jan 19 15:56:21 UTC 2018
New commits:
commit 66cf280e3c41bf55c083c1b73774a89d2a8f4dd6
Author: Andrew Cagney <cagney at gnu.org>
Date: Thu Jan 18 14:39:34 2018 -0500
logging: replace hportof()>=0 with either hportof()>0 or isvalidaddr()
Since, in UDP 0 is no port, exclude that from logs.
Since isvalidaddr() (aka hportof()>=0) is false iff ipstr() returns
"<invalid>" use that to detect valid addresses. isanyaddr() is slightly
different - also matching a magic IPv4 and IPv6 address.
More information about the Swan-commit
mailing list