Fix typo in unit_name_string units_decibels name.
authorStig Bjørlykke <stig@bjorlykke.org>
Fri, 16 Dec 2016 07:54:56 +0000 (08:54 +0100)
committerStig Bjørlykke <stig@bjorlykke.org>
Fri, 16 Dec 2016 09:08:39 +0000 (09:08 +0000)
Change-Id: Ib17ca3a613648667d0f99fa7412d074a205840a9
Reviewed-on: https://code.wireshark.org/review/19300
Petri-Dish: Stig Bjørlykke <stig@bjorlykke.org>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
epan/dissectors/packet-ieee80211-radiotap.c
epan/dissectors/packet-ieee802154.c
epan/dissectors/packet-lldp.c
epan/unit_strings.c
epan/unit_strings.h

index 901fc2787900b09557a3124eebb3ce7d37b5a11e..e613e73e954e5e8459e2482fe993da8a4b251fef 100644 (file)
@@ -2314,7 +2314,7 @@ void proto_register_radiotap(void)
 
                {&hf_radiotap_db_antsignal,
                 {"SSI Signal", "radiotap.db_antsignal",
-                 FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_decibals, 0x0,
+                 FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_decibels, 0x0,
                  "RF signal power at the antenna from a fixed, arbitrary value in decibels", HFILL}},
 
                {&hf_radiotap_dbm_antnoise,
@@ -2325,7 +2325,7 @@ void proto_register_radiotap(void)
 
                {&hf_radiotap_db_antnoise,
                 {"SSI Noise", "radiotap.db_antnoise",
-                 FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_decibals, 0x0,
+                 FT_UINT32, BASE_DEC|BASE_UNIT_STRING, &units_decibels, 0x0,
                  "RF noise power at the antenna from a fixed, arbitrary value"
                  " in decibels", HFILL}},
 
index 8f4126716ccdd674c0ab9c7689127412d2718c1a..4a1f31111c3463cf888a186a62160e9cb07ba0b7 100644 (file)
@@ -3623,7 +3623,7 @@ void proto_register_ieee802154(void)
             NULL, HFILL }},
 
         { &hf_ieee802154_rssi,
-        { "RSSI",                           "wpan.rssi", FT_INT8, BASE_DEC|BASE_UNIT_STRING, &units_decibals, 0x0,
+        { "RSSI",                           "wpan.rssi", FT_INT8, BASE_DEC|BASE_UNIT_STRING, &units_decibels, 0x0,
             "Received Signal Strength", HFILL }},
 
         { &hf_ieee802154_fcs_ok,
index c843e6fbf30942ff0ca6f8360c46aaeb612c0a64..999fc71a7ee5c78134f30a72717b936c69b636f6 100644 (file)
@@ -5127,11 +5127,11 @@ proto_register_lldp(void)
                },
                { &hf_hytec_rx_input_snr,
                        { HYTEC_MD__RX_INPUT_SNR_STR, "lldp.hytec.rx_input_snr", FT_FLOAT, BASE_NONE|BASE_UNIT_STRING,
-                       &units_decibals, 0x0, NULL, HFILL}
+                       &units_decibels, 0x0, NULL, HFILL}
                },
                { &hf_hytec_lineloss,
                        { HYTEC_MD__LINELOSS_STR, "lldp.hytec.lineloss", FT_FLOAT, BASE_NONE|BASE_UNIT_STRING,
-                       &units_decibals, 0x0, NULL, HFILL}
+                       &units_decibels, 0x0, NULL, HFILL}
                },
                { &hf_hytec_mac_trace_request,
                        { HYTEC_MC__MAC_TRACE_REQUEST_STR, "lldp.hytec.mac_trace_request", FT_NONE, BASE_NONE,
index a927a0fb07af27c3d483f229222088254ad1d9f3..c259d4ff7dd3d1140d180772495b322e5b5bb8dc 100644 (file)
@@ -63,7 +63,7 @@ const unit_name_string units_microseconds = { UTF8_MICRO_SIGN "s", NULL };
 const unit_name_string units_nanosecond_nanoseconds = { " nanosecond", " nanoseconds" };
 const unit_name_string units_nanometers = { "nm", NULL };
 const unit_name_string units_degree_degrees = { " degree", " degrees" };
-const unit_name_string units_decibals = { "dB", NULL };
+const unit_name_string units_decibels = { "dB", NULL };
 const unit_name_string units_dbm = { "dBm", NULL };
 const unit_name_string units_percent = { "%", NULL };
 const unit_name_string units_khz = { "kHz", NULL };
@@ -93,4 +93,4 @@ const unit_name_string units_segment_remaining = { " segment remaining", " segme
  *
  * ex: set shiftwidth=4 tabstop=8 expandtab:
  * :indentSize=4:tabSize=8:noTabs=true:
- */
\ No newline at end of file
+ */
index cbe94f80768e2d84f0332fd0d0a1e1579c041c63..8cd0ee73ffd2094ad3d715e5c1e3507c5dfdee42 100644 (file)
@@ -62,7 +62,7 @@ WS_DLL_PUBLIC const unit_name_string units_microseconds;        //only seconds a
 WS_DLL_PUBLIC const unit_name_string units_nanosecond_nanoseconds; // full unit name "nanosecond[s?]"
 WS_DLL_PUBLIC const unit_name_string units_nanometers;
 WS_DLL_PUBLIC const unit_name_string units_degree_degrees;
-WS_DLL_PUBLIC const unit_name_string units_decibals;
+WS_DLL_PUBLIC const unit_name_string units_decibels;
 WS_DLL_PUBLIC const unit_name_string units_dbm;
 WS_DLL_PUBLIC const unit_name_string units_percent;
 WS_DLL_PUBLIC const unit_name_string units_khz;