Comment # 5
on bug 8174
from Jakub Zawadzki
(In reply to comment #4)
> > A possible solution would be to store a linked list of dtbl_entries
> > for each registration instead of the single entry we currently store.
> > Then dissector_try_uint() can iterate through and try all of the
> > dtbl_entries whose associated protocols are marked as enabled
>
> I think this is basically the way to go. The simplest solution is for
> registration to build a list for each port/string/whatever rather than
> overwriting the old value, and then the dissector_try_* functions can
> iterate through the list until it finds an enabled protocol that is
> (old-style OR (new-style AND claims the packet)).
>
> This has the benefit that multiple new-style dissectors can register on the
> same port and it will Just Work (TM).
So it'll work the same like heuristic table created for every tcp port, right?
You are receiving this mail because:
- You are watching all bug changes.