From: Eric Leblond Date: Sun, 24 Dec 2017 15:19:03 +0000 (+0100) Subject: af-packet: remove done fixme in XDP X-Git-Tag: suricata-4.1.0-beta1~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cb591aa6cd8c005e3514f843ef796b24756cd82;p=thirdparty%2Fsuricata.git af-packet: remove done fixme in XDP --- diff --git a/src/source-af-packet.c b/src/source-af-packet.c index 80719aa382..1453509fec 100644 --- a/src/source-af-packet.c +++ b/src/source-af-packet.c @@ -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);