aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/interface_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet/interface_test.c')
-rw-r--r--src/vnet/interface_test.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/vnet/interface_test.c b/src/vnet/interface_test.c
index cc406bef23d..2d0c0ee81d1 100644
--- a/src/vnet/interface_test.c
+++ b/src/vnet/interface_test.c
@@ -1284,6 +1284,18 @@ api_sw_interface_set_interface_name (vat_main_t *vam)
}
static int
+api_pcap_set_filter_function (vat_main_t *vam)
+{
+ vl_api_pcap_set_filter_function_t *mp;
+ int ret;
+
+ M (PCAP_SET_FILTER_FUNCTION, mp);
+ S (mp);
+ W (ret);
+ return ret;
+}
+
+static int
api_pcap_trace_on (vat_main_t *vam)
{
return -1;