]> git.pond.sub.org Git - empserver/commit
nat: Deprecate selector hostname, fix value to ""
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 27 Jan 2014 19:03:29 +0000 (20:03 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 1 Feb 2015 15:52:58 +0000 (16:52 +0100)
commit199388b084eea83efb8ba81fec29435d64052acc
treed1a47872f3056eebcf4be476811c3b119171d84c
parenta06cea24c1e1343dc667451fc98b99b8a53e5fdf
nat: Deprecate selector hostname, fix value to ""

Its value has always been "", unless the deity recompiled with
RESOLVE_IPADDRESS defined, or imported another value with empdump.

I'm going to drop the RESOLVE_IPADDRESS code, including struct natstr
member nat_hostname.  To prepare for that, fix the selector's value to
"", so it doesn't need nat_hostname, and deprecate it.

This changes its "len" in xdump meta nat from 512 to 0.  Unlikely to
upset clients.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/common/nsc.c
tests/smoke/journal.log