saltstack/salt — pull request #11545 by SmithSamuelM (2014-03-26 16:11:51+00:00)
Title: Clean up stale code and revert 59410a6db3a8e80cfd335bc633ab292a78042a19  which broke raet udp

59410a6db3a8e80cfd335bc633ab292a78042a19 substituted

salt.utils.network.get_fqhostname()
salt.utils.network.host_to_ip(host)

for

socket.gethostbyname(host)
and
socket.getfqdn(host)

This broke raet in two ways.

1) It placed a hard dep on Salt in RAET. Raet is designed to be a standalone protocol so it can't have hard deps on Salt

2) salt.utils.network.get_fqhostname() returns (None, Port) instead of ("",Port) as it should this breaks socket as it will not accept None for hostname