diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-07-14 20:24:38 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-07-14 20:24:38 +0000 |
commit | 30f105640fe263ce6e2e981bd36fbf72cffd4c89 (patch) | |
tree | 85aae8b35528bf103065aaa6e762e9fa707f663a /wiretap | |
parent | aa75147f9ba73ec2ccdd4faf2bbaca5b68f3c8ab (diff) |
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
Diffstat (limited to 'wiretap')
-rw-r--r-- | wiretap/packetlogger.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 */ |