Ethereal-dev: Re: [ethereal-dev] IP inside AH tunnel

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

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sat, 8 Jul 2000 20:33:00 -0700
On Fri, Jul 07, 2000 at 12:11:05PM -0500, Gilbert Ramirez wrote:
> Here's a patch that uses Guy's excellent 'prefs' routines to 
> allow a user to place the decoded payload of an AH packet in
> a subtree or keep it at the same level as the AH header.

I've checked in a change that

	1) causes the "apply_cb" routine for a module (if it's
	   registered one) to be called when the preferences for the
	   module change (i.e., after the preferences files have been
	   read and the command-line arguments have been processed, and
	   after the user clicks "OK" in the "Preferences" dialog, if
	   any of the preferences for a module have changed as a
	   result);

	2) calls a routine to regenerate the display list and reevaluate
	   the display filter after the user clicks "OK" in the
	   "Preferences" dialog (and after the "apply_cb" routines have
	   been called) if any preferences for any module have changed
	   (so that the display will be updated appropriately).

This means that changing the "display the TOS field as a DiffServ type"
and "place AH payload in subtree" preferences will update the display to
match the new value.