fix IPv4 TOS if IPv6 is enabled