Ethereal-dev: Re: [Ethereal-dev] VJ compressed PPP packets ??

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Gilbert Ramirez <gilramir@xxxxxxxxx>
Date: Thu, 15 Mar 2001 13:47:19 -0600
Jeff Foster wrote:
> 
> Attached is the are diff files for the changes I made to

Did something happen during the "cvs diff" process?

The patch to epan/packet.h in named_data.diff is corrupt.

(I moved that portion out to a separate file, ep.diff, for
this example)
$ patch < ~/ep.diff 
patching file `packet.h'
patch: **** unexpected end of file in patch


Index: epan/packet.h
===================================================================
RCS file: /cvsroot/ethereal/epan/packet.h,v
retrieving revision 1.23
diff -u -r1.23 packet.h
--- packet.h    2001/03/15 06:41:13     1.23
+++ packet.h    2001/03/15 17:01:22
@@ -100,6 +100,7 @@
   struct _frame_data *next; /* Next element in list */
   struct _frame_data *prev; /* Previous element in list */
   GSList *pfd;              /* Per frame proto data */
+  GSList *data_src;         /* Frame data sources */
   guint32      num;       /* Frame number */
   guint32      pkt_len;   /* Packet length */
   guint32      cap_len;   /* Amount actually captured */
@@ -129,8 +130,13 @@
   AT_IPX,              /* IPX */
   AT_SNA,              /* SNA */
   AT_ATALK,            /* Appletalk DDP */
   AT_VINES,            /* Banyan Vines */
   AT_OSI,              /* OSI NSAP */
+  AT_DLCI               /* Frame Relay DLCI */
 } address_type;

 typedef struct _address {

The second section of the patch, "@@ -129,8 +130,13 @@", indicates
that there should be 13 lines in the new version of the file, but
as you see there, there are only 9.

--gilbert