Revert "ping: Fix aliasing violations"

This reverts commit 604ba7cfe5316b0a27ebdf57c0073ef47cd6b9d9.