avoid a divide by zero in PacketSender
Merge pull request #1124 from birarda/master

avoid a divide by zero in PacketSender