Ethereal-users: Re: [ethereal-users] ethereal 0.8.3 ospf problems

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

From: Nick Amato <naamato@xxxxxxxxx>
Date: Fri, 11 Feb 2000 14:50:08 -0500

Oops, here are the attachments.

Nick


On Thu, Feb 10, 2000 at 10:35:19PM -0800, Guy Harris wrote:
> > I recently switched to 0.8.3.  The ospf packet does not
> > show up in the packet description (middle) window.  Instead
> > it shows an ethernet frame.  DD packets are shown as "interconXion
> > control".
> > 
> > I ran it in the gdb and found that the dissect_ospf()
> > function is still being called.
> > 
> > Is this a known bug?
> 
> Not known to me - I scanned through my menagerie of capture files
> (Tethereal piped to "egrep -i ospf" is handy for that...), and the files
> it found containing OSPF packets seem to dissect OK (although the only
> frames it found were Hello packets).
> 
> Could you either send us a capture file that has the problem, or
> selected frames from that capture file including one of the offending
> OSPF frames (slicing can either be done by using a display filter in
> Ethereal and saving selected frames, using a read filter - same syntax
> as display filters - in Tethereal with both "-r" and "-w" flags, or
> specifying the frame numbers of the relevant frames to "editcap")?

Attachment: ospf.dump
Description: Binary data

*** packet-ospf.c	Fri Feb 11 14:21:19 2000
--- packet-ospf.c.orig	Fri Feb 11 14:20:55 2000
***************
*** 467,473 ****
          proto_tree_add_text(ospf_lsa_tree, offset + 2, 1, "Options: %d ", lsa_hdr.options);
          proto_tree_add_text(ospf_lsa_tree, offset + 3, 1, "LSA Type: %d (%s)", lsa_hdr.ls_type, lsa_type);
  
!         proto_tree_add_text(ospf_lsa_tree, offset + 4, 4, "Link State ID: %s ", 
  	                                             ip_to_str((guint8 *) &(lsa_hdr.ls_id)));
  
          proto_tree_add_text(ospf_lsa_tree, offset + 8, 4, "Advertising Router: %s ", 
--- 467,473 ----
          proto_tree_add_text(ospf_lsa_tree, offset + 2, 1, "Options: %d ", lsa_hdr.options);
          proto_tree_add_text(ospf_lsa_tree, offset + 3, 1, "LSA Type: %d (%s)", lsa_hdr.ls_type, lsa_type);
  
!         proto_tree_add_text(ospf_lsa_tree, offset + 4, 4, "Linke State ID: %s ", 
  	                                             ip_to_str((guint8 *) &(lsa_hdr.ls_id)));
  
          proto_tree_add_text(ospf_lsa_tree, offset + 8, 4, "Advertising Router: %s ",