diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-22 13:33:18 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-03-22 13:33:18 +0100 |
commit | 88c62b390eb5504772dd4fbb266054828dc4dc5d (patch) | |
tree | 7aea3693dfc1d899b38e688c4e704bfe08912640 /tools/rsgtutil.c | |
parent | 223439934c20f38bc00ec5287124737932d33ddb (diff) | |
download | rsyslog-88c62b390eb5504772dd4fbb266054828dc4dc5d.tar.gz rsyslog-88c62b390eb5504772dd4fbb266054828dc4dc5d.tar.bz2 rsyslog-88c62b390eb5504772dd4fbb266054828dc4dc5d.zip |
rsgtutil: add new file type to file type detection
Diffstat (limited to 'tools/rsgtutil.c')
-rw-r--r-- | tools/rsgtutil.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/rsgtutil.c b/tools/rsgtutil.c index d9cce2f7..9d9f3568 100644 --- a/tools/rsgtutil.c +++ b/tools/rsgtutil.c @@ -133,6 +133,8 @@ detectFileType(char *name) if((r = rsgt_tlvrdHeader(fp, (uchar*)hdr)) != 0) goto err; if(!strcmp(hdr, "LOGSIG10")) typeName = "Log Signature File, Version 10"; + else if(!strcmp(hdr, "GTSTAT10")) + typeName = "rsyslog GuardTime Signature State File, Version 10"; else typeName = "unknown"; |