]> git.droids-corp.org - dpdk.git/blobdiff - app/dumpcap/main.c
doc: add GRE option flow item to feature list
[dpdk.git] / app / dumpcap / main.c
index baf9eee466667bc3217fd6570145f491e09abb16..c5fe4403028aaf0432aa313d44cc5b2f620110a3 100644 (file)
@@ -285,7 +285,8 @@ static void compile_filter(void)
        bpf_prm = rte_bpf_convert(&bf);
        if (bpf_prm == NULL)
                rte_exit(EXIT_FAILURE,
-                        "bpf convert failed\n");
+                        "bpf convert failed: %s(%d)\n",
+                        rte_strerror(rte_errno), rte_errno);
 
        if (dump_bpf) {
                printf("cBPF program (%u insns)\n", bf.bf_len);