MX platforms have a "next-header" match that matches the first Next Header (NH) in the packet and the "payload-protocol" to match the last NH. On the other hand, EVO-PTX platforms currently support the "next-header" match on the last NH, but not the first one. The most common use case is to match the last NH, and this is native to the PTX platforms. This software change alters the existing implementation by making the "next-header" matches the first NH, and the "payload-protocol" to match the last NH. (See fig 1 below). The goal is to make the IPv6 firewall match clauses behave the same way as those on the MX platforms.