From 3e10ee4608060bef42fa224491d8fe5a132285b1 Mon Sep 17 00:00:00 2001 From: Tom DeCanio Date: Tue, 7 Oct 2014 15:23:15 -0700 Subject: [PATCH] PR review comment. Use protocol to discern log type. --- src/log-filestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log-filestore.c b/src/log-filestore.c index f962b3a398..109dabbbd1 100644 --- a/src/log-filestore.c +++ b/src/log-filestore.c @@ -205,7 +205,7 @@ static void LogFilestoreLogCreateMetaFile(const Packet *p, const File *ff, char } /* Only applicable to HTTP traffic */ - if (ff->txid != 0) { + if (p->flow->alproto == ALPROTO_HTTP) { fprintf(fp, "HTTP URI: "); LogFilestoreMetaGetUri(fp, p, ff); fprintf(fp, "\n");