diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-01-08 22:30:29 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-01-08 22:30:29 +0000 |
commit | 5e7698f3224a44369e62e85c9448447c75f278ab (patch) | |
tree | 99a0efe70f6d3f0a71c4a1f5d9eb2e9667e8113f /wiretap/vms.c | |
parent | 3ecfaeedb576e5e56a817820335b18e6b2ca59c5 (diff) | |
download | wireshark-5e7698f3224a44369e62e85c9448447c75f278ab.tar.gz wireshark-5e7698f3224a44369e62e85c9448447c75f278ab.tar.bz2 wireshark-5e7698f3224a44369e62e85c9448447c75f278ab.zip |
From Marc Milgram: all packets in DBS Etherwatch and VMS TCPIPTRACE
captures are IP packets, so make the file encapsulation
WTAP_ENCAP_RAW_IP rather than WTAP_ENCAP_PER_PACKET, so you can save
those captures in other formats.
svn path=/trunk/; revision=4503
Diffstat (limited to 'wiretap/vms.c')
-rw-r--r-- | wiretap/vms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/vms.c b/wiretap/vms.c index e577f2b780..1b9f95bd8f 100644 --- a/wiretap/vms.c +++ b/wiretap/vms.c @@ -1,6 +1,6 @@ /* vms.c * - * $Id: vms.c,v 1.2 2001/12/24 17:00:01 gerald Exp $ + * $Id: vms.c,v 1.3 2002/01/08 22:30:29 guy Exp $ * * Wiretap Library * Copyright (c) 2001 by Marc Milgram <mmilgram@arrayinc.com> @@ -159,7 +159,7 @@ int vms_open(wtap *wth, int *err) } wth->data_offset = 0; - wth->file_encap = WTAP_ENCAP_PER_PACKET; + wth->file_encap = WTAP_ENCAP_RAW_IP; wth->file_type = WTAP_FILE_VMS; wth->snapshot_length = 16384; /* just guessing */ wth->subtype_read = vms_read; |