changes for new packetlib 3.1.1