Wireshark-bugs: [Wireshark-bugs] [Bug 11364] Turning monitor mode on or off doesn't change the l
Comment # 6
on bug 11364
from Gerald Combs
(In reply to Guy Harris from comment #5)
> (In reply to Guy Harris from comment #4)
> > (In reply to Evan Huus from comment #2)
> > > This code was just never written; the place to add a hook is in
> > > `InterfaceTreeDelegate::monitor_changed()` and it will probably look
> > > something like the logic in `capture_prep_monitor_changed_cb` (the GTK
> > > implementation).
> >
> > Except for the part that doesn't, which is the Qt part. The logic to
> > generate the list of link-layer header types would look similar; the logic
> > to actually make that affect the QComboWidget in the col_link_ column for a
> > given row is trapped in a twisty little maze of classes and delegates, all
> > different.
> >
> > *Somehow*, we need to get a handle on that QComboBox and hit it with a
> > hammer whenever the monitor mode column is changed.
>
> Gerald? Any clue how to accomplish this?
Change 15583 copies over the necessary capture_prep_monitor_changed_cb logic
and un-twists the maze a bit.
At some point I'd like to replace the promiscuous and monitor mode combos with
checkboxes. It would simplify the code a bit more and make for a cleaner UI.
You are receiving this mail because:
- You are watching all bug changes.