aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAndrew Yourtchenko <ayourtch@gmail.com>2017-06-21 19:26:59 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2017-06-21 19:26:59 +0200
commit07b5913ec168245b1a926f7e77948db3c40693ce (patch)
tree19774ebd435fce290e32609b82a57e9b57bf0de8 /src/plugins
parent428dc9110bee7eedf8aac6f12a89181e8e5343f5 (diff)
acl-plugin: fix coverity issue 166801
A typo resulted in a value being overwritten and flagged as unused, fix the typo. Change-Id: I512ba94321afb80d12c71ebbb0eec42d9fa6f299 Signed-off-by: Andrew Yourtchenko <ayourtch@gmail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/acl/manual_fns.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/acl/manual_fns.h b/src/plugins/acl/manual_fns.h
index cf9c3abc386..a2620fb2f51 100644
--- a/src/plugins/acl/manual_fns.h
+++ b/src/plugins/acl/manual_fns.h
@@ -257,7 +257,7 @@ vl_api_macip_acl_add_t_print (vl_api_macip_acl_add_t * a, void *handle)
count = a->count;
}
- s = format (0, "SCRIPT: macip_acl_add ");
+ s = format (s, "SCRIPT: macip_acl_add ");
if (a->tag[0])
s = format (s, "tag %s ", a->tag);