Changed how no_flood is set for ports.