Fix a bug in flooding in sendPacketOut.

Change-Id: Id9d71a3079151850f5d6acc5bb8cd67ad347b9b2
Signed-off-by: Alex Fan <railor33@gmail.com>