s3:srv_epmapper: only replace ipv4 addresses in _epm_Lookup() and _epm_Map()
commitab32b67bbb86ef487bd1faa8120314a2418ab144
authorStefan Metzmacher <metze@samba.org>
Fri, 31 Jan 2014 20:10:41 +0000 (31 21:10 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 11 Feb 2014 15:20:30 +0000 (11 16:20 +0100)
tree419180353d225130e4f822819653256c03fc593f
parent4f344f3b80505f47549d933e3a66d5a9b5dd85bb
s3:srv_epmapper: only replace ipv4 addresses in _epm_Lookup() and _epm_Map()

The floor data for EPM_PROTOCOL_IP only handles a 4 byte ipv4 address.
"0.0.0.0" is used for ipv6 and hostnames.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
source3/rpc_server/epmapper/srv_epmapper.c