Well if ZD forwards packets from one LAN port to another, it's acting as a bridge.
Let's assume both ports are connected to a switch, then the switch will see its own STP BPDU packets. So, it'll block one of the two ports, avoiding a loop.
Am I right?