aboutsummaryrefslogtreecommitdiffstats
path: root/gmod
diff options
context:
space:
mode:
Diffstat (limited to 'gmod')
-rw-r--r--gmod/Makefile.am2
-rw-r--r--gmod/gmod/mod_vpp.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/gmod/Makefile.am b/gmod/Makefile.am
index e57f578862a..643e170df98 100644
--- a/gmod/Makefile.am
+++ b/gmod/Makefile.am
@@ -21,7 +21,7 @@ libgmodvpp_la_SOURCES = gmod/mod_vpp.c
libgmodvpp_la_LDFLAGS = -module -avoid-version
-libgmodvpp_la_LIBADD = -lsvm -lsvmdb -lvppinfra
+libgmodvpp_la_LIBADD = -lsvm -lsvmdb -lvppinfra -lapr-1
gconfdir = $(prefix)/etc/conf.d
gconf_DATA = gmod/vpp.conf
diff --git a/gmod/gmod/mod_vpp.c b/gmod/gmod/mod_vpp.c
index 572f9ef58ab..71479d2afba 100644
--- a/gmod/gmod/mod_vpp.c
+++ b/gmod/gmod/mod_vpp.c
@@ -37,14 +37,14 @@ static int vpp_metric_init (apr_pool_t *p)
int i;
if (str_params) {
- debug_msg("[mod_vpp]Received string params: %s", str_params);
+ clib_warning("[mod_vpp]Received string params: %s", str_params);
}
/* Multiple name/value pair parameters. */
if (list_params) {
- debug_msg("[mod_vpp]Received following params list: ");
+ clib_warning("[mod_vpp]Received following params list: ");
params = (mmparam*) list_params->elts;
for(i=0; i< list_params->nelts; i++) {
- debug_msg("\tParam: %s = %s", params[i].name, params[i].value);
+ clib_warning("\tParam: %s = %s", params[i].name, params[i].value);
}
}