diff options
author | Linus Nordberg <linus@nordu.net> | 2011-12-22 10:04:24 +0100 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2011-12-22 10:04:24 +0100 |
commit | 68d851156019f743618b39d31f7674981ed18a71 (patch) | |
tree | 138003319a37bba2e64cb5d0ba5c898798cb7c71 /fticks.c | |
parent | d7ffa5730f6fd4fe9ac9c6e3db224d5d93ef71a5 (diff) | |
parent | 2c70584384ab70cb28477dc9c8fb2179b293fe88 (diff) |
Merge remote-tracking branch 'maja/master'
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)); |