[Bug 1356] adding element to map inverts byte order

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Jul 24 12:04:58 CEST 2019


https://bugzilla.netfilter.org/show_bug.cgi?id=1356

Pablo Neira Ayuso <pablo at netfilter.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Pablo Neira Ayuso <pablo at netfilter.org> ---
# cat /tmp/x.nft 
table x {
        chain go {
        }

        map ok {
            type mark : verdict
        }
}

# nft add element ip x ok { 0x00000045: jump go }

# nft list ruleset
table ip x {
        map ok {
                type mark : verdict
                elements = { 0x00000045 : jump go }
        }

        chain go {
        }
}

This works fine here, you're on x86_64 as your hardware field in this bug
report specifies?

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20190724/9dbbe442/attachment.html>


More information about the netfilter-buglog mailing list