https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7313
--- Comment #5 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-06-01 04:54:53 PDT ---
Created attachment 8528
--> https://bugs.wireshark.org/bugzilla/attachment.cgi?id=8528
Build value_string for wiretap encaps, and use it in frame.encap_type
(In reply to comment #4)
> (In reply to comment #3)
> > But wouldn't be better to build value_string array for all encaps, and use it
> > in hf_frame_wtap_encap?
>
> The 'hf_register_info' will only work with a static value_string array,
> correct? I'm not sure how/if they can be used with dissector tables. When would
> you build the value_string?
Well not really, attaching sample patch.
But I'm not sure if it's right way, maybe we could move value_string API to
wsutil, and use it also in wiretap?
--
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.