summaryrefslogtreecommitdiff
path: root/fticks.c
diff options
context:
space:
mode:
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));