updating port flood flag on switches according spt