]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ebpf: fix indentation in xdp_filter
authorEric Leblond <eric@regit.org>
Sat, 2 Mar 2019 22:21:05 +0000 (23:21 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 18 Jun 2019 05:07:02 +0000 (07:07 +0200)
ebpf/xdp_filter.c

index 07bf6f9d9730c2427f2e1ffbfa2bbde4c3f643de..327da712e8dfcfed6b0e4d82641c43db2d6a2974 100644 (file)
@@ -306,7 +306,7 @@ static int __always_inline filter_ipv4(struct xdp_md *ctx, void *data, __u64 nh_
     xdp_hash = SuperFastHash((char *)&xdp_hash, 4, INITVAL + iph->protocol);
     ctx->rx_queue_index = xdp_hash % RSS_QUEUE_NUMBERS;
 #endif
-        return XDP_PASS;
+    return XDP_PASS;
 #endif
 }