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>
This commit is contained in:
Markus Armbruster 2014-01-27 20:03:29 +01:00
parent a06cea24c1
commit 199388b084
2 changed files with 5 additions and 5 deletions

View file

@ -373,7 +373,7 @@
Play#0 output Play#0 1 "cname" 14 0 20 -1
Play#0 output Play#0 1 "passwd" 14 1 20 -1
Play#0 output Play#0 1 "ip" 14 1 46 -1
Play#0 output Play#0 1 "hostname" 14 1 512 -1
Play#0 output Play#0 1 "hostname" 14 1 0 -1
Play#0 output Play#0 1 "userid" 14 1 32 -1
Play#0 output Play#0 1 "xcap" 9 1 0 -1
Play#0 output Play#0 1 "ycap" 10 1 0 -1
@ -939,7 +939,7 @@
Play#0 output Play#0 1 "cnum" 5 0 0 8
Play#0 output Play#0 1 "flags" 8 8 0 35
Play#0 output Play#0 1 "ip" 14 0 46 -1
Play#0 output Play#0 1 "hostname" 14 0 512 -1
Play#0 output Play#0 1 "hostname" 14 0 0 -1
Play#0 output Play#0 1 "userid" 14 0 32 -1
Play#0 output Play#0 1 "xcap" 9 0 0 -1
Play#0 output Play#0 1 "ycap" 10 0 0 -1
@ -2053,7 +2053,7 @@
Play#2 output Play#2 1 "cnum" 5 0 0 8
Play#2 output Play#2 1 "flags" 8 8 0 35
Play#2 output Play#2 1 "ip" 14 0 46 -1
Play#2 output Play#2 1 "hostname" 14 0 512 -1
Play#2 output Play#2 1 "hostname" 14 0 0 -1
Play#2 output Play#2 1 "userid" 14 0 32 -1
Play#2 output Play#2 1 "xcap" 9 0 0 -1
Play#2 output Play#2 1 "ycap" 10 0 0 -1