]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
af-packet: remove done fixme in XDP
authorEric Leblond <eric@regit.org>
Sun, 24 Dec 2017 15:19:03 +0000 (16:19 +0100)
committerEric Leblond <eric@regit.org>
Tue, 6 Feb 2018 15:58:19 +0000 (16:58 +0100)
src/source-af-packet.c

index 80719aa382d5fd25b334afe85fba4291715f2e63..1453509fec25a4a051499066a77ab74c07fdbb53 100644 (file)
@@ -2396,7 +2396,6 @@ static int AFPXDPBypassCallback(Packet *p)
         }
         key.src = GET_IPV4_SRC_ADDR_U32(p);
         key.dst = GET_IPV4_DST_ADDR_U32(p);
-        /* FIXME htons or not depending of XDP and af_packet eBPF */
         key.port16[0] = htons(GET_TCP_SRC_PORT(p));
         key.port16[1] = htons(GET_TCP_DST_PORT(p));
         key.ip_proto = IPV4_GET_IPPROTO(p);