summaryrefslogtreecommitdiff
path: root/fticks.c
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2011-12-22 10:04:24 +0100
committerLinus Nordberg <linus@nordu.net>2011-12-22 10:04:24 +0100
commit68d851156019f743618b39d31f7674981ed18a71 (patch)
tree138003319a37bba2e64cb5d0ba5c898798cb7c71 /fticks.c
parentd7ffa5730f6fd4fe9ac9c6e3db224d5d93ef71a5 (diff)
parent2c70584384ab70cb28477dc9c8fb2179b293fe88 (diff)
Merge remote-tracking branch 'maja/master'
Diffstat (limited to 'fticks.c')
-rw-r--r--fticks.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/fticks.c b/fticks.c
index e2dee19..ed7d0b4 100644
--- a/fticks.c
+++ b/fticks.c
@@ -107,8 +107,13 @@ fticks_log(const struct options *options,
memset(visinst, 0, sizeof(visinst));
if (options->fticks_reporting == RSP_FTICKS_REPORTING_FULL) {
- snprintf((char *) visinst, sizeof(visinst), "VISINST=%s#",
+ if (client->conf->fticks_visinst != NULL ) {
+ snprintf((char *) visinst, sizeof(visinst), "VISINST=%s#",
+ client->conf->fticks_visinst);
+ } else {
+ snprintf((char *) visinst, sizeof(visinst), "VISINST=%s#",
client->conf->name);
+ }
}
memset(macout, 0, sizeof(macout));