Furtherly reduced complexity of mdns. Removed stale printf.