summaryrefslogtreecommitdiffstats
path: root/adapter/vppapiclient
diff options
context:
space:
mode:
authorOndrej Fabry <ofabry@cisco.com>2019-04-23 14:43:25 +0200
committerOndrej Fabry <ofabry@cisco.com>2019-04-23 14:43:25 +0200
commitf614a0af720702c8db959b6641b4faea5f98c339 (patch)
tree95242770903071827e83c909e167de701a7b593b /adapter/vppapiclient
parenta382cf59843b92bbff28c7c4d3f26b389d1e1844 (diff)
Add comments to provide info about VPP requirements
Change-Id: I116b9c0ab064418940eec82fb1442d30816386d7 Signed-off-by: Ondrej Fabry <ofabry@cisco.com>
Diffstat (limited to 'adapter/vppapiclient')
-rw-r--r--adapter/vppapiclient/stat_client.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/adapter/vppapiclient/stat_client.go b/adapter/vppapiclient/stat_client.go
index 24700a3..ac47339 100644
--- a/adapter/vppapiclient/stat_client.go
+++ b/adapter/vppapiclient/stat_client.go
@@ -24,7 +24,7 @@ package vppapiclient
#include <stdio.h>
#include <stdint.h>
#include <arpa/inet.h>
-#include <vpp-api/client/vppapiclient.h>
+#include <vpp-api/client/vppapiclient.h> // VPP has to be installed!
#include <vpp-api/client/stat_client.h>
static int
@@ -138,13 +138,13 @@ govpp_stat_segment_data_get_combined_counter_index_bytes(stat_segment_data_t *da
static uint8_t**
govpp_stat_segment_data_get_name_vector(stat_segment_data_t *data)
{
- return data->name_vector;
+ return data->name_vector; // VPP 19.04 is required!
}
static char*
govpp_stat_segment_data_get_name_vector_index(stat_segment_data_t *data, int index)
{
- return data->name_vector[index];
+ return data->name_vector[index]; // VPP 19.04 is required!
}
static void