From d04b5cd362be82bf685fde65af67e73c5a8ca0e4 Mon Sep 17 00:00:00 2001 From: Michael Mann Date: Tue, 17 Jan 2017 11:35:36 -0500 Subject: Use dissector tables for PPP protocols' options. Create pinos for all of the PPP protocols options and a dissector table to store them all. Adapt a new version of dissect_ip_tcp_options, (now ppp_dissect_options) that uses the dissector tables for name of options and dissection function. Also standardize the dissectors for all protocols so that all include type and length in the dissection. Change-Id: I0033574e2831789040a1ce2857bf0e825d791cbe Reviewed-on: https://code.wireshark.org/review/19656 Petri-Dish: Michael Mann Tested-by: Petri Dish Buildbot Reviewed-by: Alexis La Goutte Reviewed-by: Michael Mann --- epan/unit_strings.c | 1 + 1 file changed, 1 insertion(+) (limited to 'epan/unit_strings.c') diff --git a/epan/unit_strings.c b/epan/unit_strings.c index 284b25439d..5eaff365ad 100644 --- a/epan/unit_strings.c +++ b/epan/unit_strings.c @@ -89,6 +89,7 @@ const unit_name_string units_microwatts = { UTF8_MICRO_SIGN "W", NULL }; const unit_name_string units_meter_sec = { "m/s", NULL }; const unit_name_string units_meter_sec_squared = { "m/s" UTF8_SUPERSCRIPT_TWO , NULL }; const unit_name_string units_segment_remaining = { " segment remaining", " segments remaining" }; +const unit_name_string units_frame_frames = { " frame", " frames" }; /* -- cgit v1.2.1