]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
ebpf: remove left over debug in lb.c
authorEric Leblond <eric@regit.org>
Sat, 22 Jun 2019 06:09:54 +0000 (08:09 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 11 Jul 2019 08:07:14 +0000 (10:07 +0200)
ebpf/lb.c

index 252897f804133914465d33c6baf44264dec46a14..cd4e6bec9a4f32fd203f207d4c2b3e4b1afb15c6 100644 (file)
--- a/ebpf/lb.c
+++ b/ebpf/lb.c
@@ -103,7 +103,9 @@ int  __section("loadbalancer") lb(struct __sk_buff *skb) {
                 skb->cb[0] = nhoff;
                 switch (proto) {
                     case ETH_P_IP:
+#if 0
                         { char fmt[] = "ipv4\n"; bpf_trace_printk(fmt, sizeof(fmt));}
+#endif
                         ret = ipv4_hash(skb);
                         break;
                     case ETH_P_IPV6: