nwrap: simplify nwrap_add_hname_alias
authorMichael Adam <obnox@samba.org>
Mon, 9 Nov 2015 16:36:07 +0000 (17:36 +0100)
committerMichael Adam <obnox@samba.org>
Mon, 11 Jan 2016 11:25:29 +0000 (12:25 +0100)
commit8f62cda726c6fd471b4c929c5fb757443fa08842
tree53d8a3e166a92a5b9ec1d1812cdc85f1b01e3f34
parent067978d785231670d24eabe30d0559cf7873365f
nwrap: simplify nwrap_add_hname_alias

This always uses the provided h_name_a alias name.
No need to fall back to the fqdn name from the entry.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/nss_wrapper/nss_wrapper.c