From 30f105640fe263ce6e2e981bd36fbf72cffd4c89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stig=20Bj=C3=B8rlykke?= Date: Wed, 14 Jul 2010 20:24:38 +0000 Subject: Don't pass tvb data to col_set_str(), as it will not stay around. Added support for Note (dumping as text). Renamed Info to Power (as used in PacketLogger). svn path=/trunk/; revision=33526 --- wiretap/packetlogger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wiretap/packetlogger.c') diff --git a/wiretap/packetlogger.c b/wiretap/packetlogger.c index 021ed129ef..5c7e19c82e 100644 --- a/wiretap/packetlogger.c +++ b/wiretap/packetlogger.c @@ -73,7 +73,7 @@ int packetlogger_open(wtap *wth, int *err, gchar **err_info _U_) /* Verify this file belongs to us */ if (!((8 <= pl_hdr.len) && (pl_hdr.len < 65536) && - (type < 0x04 || type == 0xFB || type == 0xFE || type == 0xFF))) + (type < 0x04 || type == 0xFB || type == 0xFC || type == 0xFE || type == 0xFF))) return 0; /* No file header. Reset the fh to 0 so we can read the first packet */ -- cgit v1.2.1