ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-bugs: [Wireshark-bugs] [Bug 3753] Profinet dissector does not decode all defined error

Date: Thu, 26 Apr 2012 07:14:48 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=3753

Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benjaminmeyer1980@googlemai
                   |                            |l.com,
                   |                            |darkjames-ws@xxxxxxxxxxxx

--- Comment #3 from Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> 2012-04-26 07:14:47 PDT ---
Running wireshark with value_string checking gives warning:

Warn Field 'ErrorCode2' (pn_io.error_code2) has a conflicting entry in its
value_string: 10 is at indices 10 (Error in Parameter SendClockFactor) and 19
(Error in Parameter API))


>From your patch:

+static const value_string pn_io_error_code2_pnio_2[] = {
 /* ... */
+    {  9, "Error in Parameter FrameID" },
*** +    { 10, "Error in Parameter SendClockFactor" }, ***
+    { 11, "Error in Parameter ReductionRatio" },
 /* ... */
+    { 19, "Error in Parameter NumberOfAPI" },
*** +    { 10, "Error in Parameter API" }, ***
+    { 21, "Error in Parameter NumberOfIODataObjects" },


"Error in Parameter API" should has value 20?

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are watching all bug changes.