summaryrefslogtreecommitdiff
path: root/fticks.c
diff options
context:
space:
mode:
authorMaja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl>2011-12-21 10:10:33 +0100
committerMaja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl>2011-12-21 10:10:33 +0100
commit2c70584384ab70cb28477dc9c8fb2179b293fe88 (patch)
treef71c7e670b230622bd8991445da1f87e12031ee1 /fticks.c
parentab7c8e7cc52f94029a17ec14236ab7ffa95d9bf4 (diff)
New option for client block - fticksVISINST
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));