Wireshark-bugs: [Wireshark-bugs] [Bug 6787] Move Y.1711 out of MPLS dissector
Date: Tue, 31 Jul 2012 13:01:57 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=6787

--- Comment #19 from Alexis La Goutte <alexis.lagoutte@xxxxxxxxx> 2012-07-31 13:01:57 PDT ---
About this line :
> 
>     functype = tvb_get_guint8(tvb, offset);  // will do bounds error if no data
>     col_append_fstr(pinfo->cinfo, COL_INFO, " (Y.1711: %s)",
>                     (functype == 0x01) ? "CV" :
>                     (functype == 0x02) ? "FDI" :
>                     (functype == 0x03) ? "BDI" :
>                     (functype == 0x07) ? "FDD" :
>                     "reserved/unknown");
> 
It is not possible to use val_to_str(functype, y1711_function_type_vals,
"Reserved/unknown (%d)) ?

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