[Bug 1356] New: adding element to map inverts byte order

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Wed Jul 24 11:45:44 CEST 2019


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

            Bug ID: 1356
           Summary: adding element to map inverts byte order
           Product: nftables
           Version: unspecified
          Hardware: x86_64
                OS: Debian GNU/Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: nft
          Assignee: pablo at netfilter.org
          Reporter: c.marquis at viapass.com

Hi, i noticed a byte order inversion while adding an element to a verdict map,
as following:

> nft add element ip filter ok { 0x00000045: jump go }


produces:

> map ok {
>     type mark : verdict
>     elements = { 0x45000000 : jump go }
> }


(version: both nftables and libnftnl from last commit on this day 24 July 2019
- 11h40 AM)

-- 
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/abf093f6/attachment.html>


More information about the netfilter-buglog mailing list