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.