Fix function deprecation.
Fix function deprecation.

symphorien/libpnet,returntoreality/libpnet,symphorien/libpnet,david415/libpnet,little-dude/libpnet,mrmonday/libpnet,tempbottle/libpnet,tempbottle/libpnet,returntoreality/libpnet,fsck/libpnet,fsck/libpnet,mrmonday/libpnet,symphorien/libpnet,symphorien/libpnet,david415/libpnet,returntoreality/libpnet,fsck/libpnet,libpnet/libpnet,tempbottle/libpnet,returntoreality/libpnet,libpnet/libpnet,david415/libpnet,libpnet/libpnet,david415/libpnet,tempbottle/libpnet,fsck/libpnet,little-dude/libpnet,little-dude/libpnet,libpnet/libpnet,mrmonday/libpnet,little-dude/libpnet,mrmonday/libpnet