diff options
author | Maja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl> | 2011-12-21 10:10:33 +0100 |
---|---|---|
committer | Maja Gorecka-Wolniewicz <mgw@puma.uci.umk.pl> | 2011-12-21 10:10:33 +0100 |
commit | 2c70584384ab70cb28477dc9c8fb2179b293fe88 (patch) | |
tree | f71c7e670b230622bd8991445da1f87e12031ee1 /fticks.c | |
parent | ab7c8e7cc52f94029a17ec14236ab7ffa95d9bf4 (diff) |
New option for client block - fticksVISINST
Diffstat (limited to 'fticks.c')
-rw-r--r-- | fticks.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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)); |