Wireshark-dev: Re: [Wireshark-dev] Regarding bug 948 - capture vs preferences
From: Jaap Keuter <[email protected]>
Date: Thu, 16 Nov 2006 08:04:18 +0100 (CET)
Hi,

On Wed, 15 Nov 2006, Stephen Fisher wrote:

> I am looking at bug #948, "Apply capture preferences not applying."
> The problem reported is that if you update a preference such as "Update
> list of packets in real time" and hit apply/OK then go to the capture
> options screen, the change is not reflected there.  Glancing at the
> code, it looks like these preferences are only synchronized in main()
> when the program starts up - for example: capture_opts->promisc_mode =
> prefs->capture_prom_mode;
>
> Does anyone see any reason why updates to the capture options in the
> preferences should not also update the capture options without having to
> restart the program?  I don't think it should work the other way around
> though - the capture options screen feels more like per capture options
> to me.

The challanges are the way to:
1. Know when the preferences have changed.
2. Find a way to incorporate the preference changes into the (possibly
already changed) capture dialog.

Thanx,
Jaap