From Marc Milgram: fix to allow VMS TCPIPtrace files that don't have
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 15 Jan 2002 20:18:02 +0000 (20:18 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 15 Jan 2002 20:18:02 +0000 (20:18 +0000)
exactly 3 spaces before the word "TCPIPtrace" to be recognized.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4547 f5534014-38df-0310-8fa8-9805f1628bb7

wiretap/vms.c

index 1b9f95bd8f3213b9bcb03b67e4d7693c3aa393c5..8c14305e4113a33a6f75d86979a4f6f173618717 100644 (file)
@@ -1,6 +1,6 @@
 /* vms.c
  *
- * $Id: vms.c,v 1.3 2002/01/08 22:30:29 guy Exp $
+ * $Id: vms.c,v 1.4 2002/01/15 20:18:02 guy Exp $
  *
  * Wiretap Library
  * Copyright (c) 2001 by Marc Milgram <mmilgram@arrayinc.com>
@@ -64,7 +64,7 @@
 
 /* Magic text to check for VMS-ness of file */
 static const char vms_hdr_magic[]  =
-{ ' ', ' ', ' ', 'T', 'C', 'P', 'I', 'P', 't', 'r', 'a', 'c', 'e', ' '};
+{ 'T', 'C', 'P', 'I', 'P', 't', 'r', 'a', 'c', 'e', ' '};
 #define VMS_HDR_MAGIC_SIZE  (sizeof vms_hdr_magic  / sizeof vms_hdr_magic[0])
 
 /* Magic text for start of packet */