ipv4: fix packet creation
ipv6: fix ping response