PUD: nwif: make setting ttl on tx socket work for IPv6