Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
classify: add bpf support to pcap classifier
[vpp.git]
/
src
/
vnet
/
classify
/
pcap_classify.h
diff --git
a/src/vnet/classify/pcap_classify.h
b/src/vnet/classify/pcap_classify.h
index
e079816
..
a4ebcd1
100644
(file)
--- a/
src/vnet/classify/pcap_classify.h
+++ b/
src/vnet/classify/pcap_classify.h
@@
-47,11
+47,11
@@
vnet_is_packet_pcaped (vnet_pcap_t *pp, vlib_buffer_t *b, u32 sw_if_index)
return 0; /* wrong error */
if (filter_classify_table_index != ~0 &&
return 0; /* wrong error */
if (filter_classify_table_index != ~0 &&
-
vnet_is_packet_traced_inline
(b, filter_classify_table_index,
-
0 /* full classify */) != 1)
+
pp->current_filter_function
(b, filter_classify_table_index,
+ 0 /* full classify */) != 1)
return 0; /* not matching the filter, skip */
return 0; /* not matching the filter, skip */
- return 1;
/* success */
+ return 1;
}
/*
}
/*