port.getHwAddr() is checked against null in discoverAllPorts().