Ethereal-dev: [ethereal-dev] Second patch to "packet-fddi.c"

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

From: guy@xxxxxxxxxx (Guy Harris)
Date: Mon, 12 Oct 1998 22:58:50 -0700 (PDT)
Also just checked in:

Remove the length-on-wire and length-captured values from the FDDI
detail display; that's now in the "frame" detail display.

Index: packet-fddi.c
===================================================================
RCS file: /usr/local/cvsroot/ethereal/packet-fddi.c,v
retrieving revision 1.3
diff -c -r1.3 packet-fddi.c
*** packet-fddi.c	1998/10/13 05:12:13	1.3
--- packet-fddi.c	1998/10/13 05:55:16
***************
*** 95,104 ****
  
    if (tree) {
      ti = add_item_to_tree(GTK_WIDGET(tree), 0, offset,
! 			  "FDDI %s (%d on wire, %d captured)",
  			  (fc >= FDDI_FC_LLC_ASYNC_MIN && fc <= FDDI_FC_LLC_ASYNC_MAX) ?
! 			  "Async LLC" : "unsupported FC",
! 			  fd->pkt_len, fd->cap_len);
  
        fh_tree = gtk_tree_new();
        add_subtree(ti, fh_tree, ETT_FDDI);
--- 95,103 ----
  
    if (tree) {
      ti = add_item_to_tree(GTK_WIDGET(tree), 0, offset,
! 			  "FDDI %s",
  			  (fc >= FDDI_FC_LLC_ASYNC_MIN && fc <= FDDI_FC_LLC_ASYNC_MAX) ?
! 			  "Async LLC" : "unsupported FC");
  
        fh_tree = gtk_tree_new();
        add_subtree(ti, fh_tree, ETT_FDDI);