Ethereal-dev: [Ethereal-dev] Patch to packet-pim.c

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

From: "Simeon Pilgrim" <simeon.pilgrim@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 26 Feb 2001 17:22:28 +1200 (NZT)
Hi

He is a patch so the pim bootstrap massage is displayed correctly.
The old code should byte 3(reserved 0) instead of byte 2 for the 
priority. 

the patch is to packet-pim.c
486,487c486,487
< 		    proto_tree_add_text(grouptree, NullTVB, offset + 3, 1,
< 			"Priority: %u", pd[offset + 3]);
---
> 		    proto_tree_add_text(grouptree, NullTVB, offset + 2, 1,
> 			"Priority: %u", pd[offset + 2]);

Other than this, I love this program.


-------------------------------------------------------------
Simeon Pilgrim                      27 Nazareth Avenue
System Test Engineer                PO Box 8011
Allied Telesyn Research             Christchurch 8034
(An Allied Telesyn Group company)   New Zealand 
phone +64 3 377 8900                fax   +64 3 377 8870       
-------------------------------------------------------------